http://llvm.org/bugs/show_bug.cgi?id=14099
Bug #: 14099
Summary: structure pass byval causes data corruption
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: ARM
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 9359
--> http://llvm.org/bugs/attachment.cgi?id=9359
test_StructByVal.c
It seems that passing a structure by value on ARM gets miscompiled resulting in
the value being offset by 4 bytes.
The attached test case seems to show the issue (the expected output is a series
of 0xaa, instead you get 4 bytes of garbage at the beginning).
--
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