http://llvm.org/bugs/show_bug.cgi?id=9411
Summary: Structs by value break CBackend
Product: clang
Version: 2.8
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The clang front-end generates types like "i800" to represent a struct of size
100 bytes when that struct is passed by value.
struct foo {
int x;
char y;
...
};
struct foo a;
...
struct foo b;
b = a; // generates iXXX type reference
This is a problem because the CBackend, for example, doesn't like non-native
integer types.
It ought to be able to generate a memcpy or similar instead.
--
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