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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs