[LLVMbugs] [Bug 13949] New: [ppc64] Excess small-struct parameters are not passed according to PPC64 ELF ABI

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 27 09:23:53 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13949

             Bug #: 13949
           Summary: [ppc64] Excess small-struct parameters are not passed
                    according to PPC64 ELF ABI
           Product: libraries
           Version: trunk
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: wschmidt at linux.vnet.ibm.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


PR13627 fixed the problem of passing small aggregates that fit in registers so
that they are right-justified in the register, for the 64-bit PowerPC SVR4
subtarget.  However, a function that passes more than 8 arguments for which the
9th or greater argument is less than a doubleword in size still passes these
arguments incorrectly.

Example of a failing test from the GCC ABI compatibility test suite:

FAIL: gcc.dg/compat/struct-by-value-3 c_compat_x_alt.o-c_compat_y_tst.o execute

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list