http://llvm.org/bugs/show_bug.cgi?id=13350
Bug #: 13350
Summary: clang code generator crashs when it try to create the
code for passing large size of strcuture argument
Product: clang
Version: 3.1
Platform: PC
OS/Version: other
Status: NEW
Severity: release blocker
Priority: P
Component: LLVM Codegen
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Testcode.c
struct S { char buf[32*1024]; };
extern void bar (struct S);
struct S s;
int
foo (void)
{
bar (s);
return 0;
}
option : -O0 -target arm-linux-gnueabi -march=armv7-a -mfloat-abi=softfp
When I compile, it takes below time
buf size time to build
4KB 1.3s
8KB 4.6s
16KB 18.8s
32KB 84.6s
64KB 196.1s
Clang compiler also crashed when I try to build over 1MB
I uploaded this issue about 5 months ago.
http://lists.cs.uiuc.edu/pipermail/llvmbugs/2012-February/021851.html
Which still remains..
Dose anybody know how to solve this issue?
--
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