[LLVMbugs] [Bug 3895] New: IRGen doesn' t set the calling convention correctly with incomplete function types

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Mar 27 13:22:21 PDT 2009


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

           Summary: IRGen doesn't set the calling convention correctly with
                    incomplete function types
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Testcase (x86-32):
struct x;
__attribute((stdcall)) int x(struct x);
void* y = x;
struct x {int x;};
int a() { return x((struct x){1}); }

(Found by inspection; I don't know if anything actually does this...)


-- 
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