[LLVMbugs] [Bug 13350] New: clang code generator crashs when it try to create the code for passing large size of strcuture argument
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Fri Jul 13 04:50:13 PDT 2012
    
    
  
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: unassignedclangbugs at nondot.org
        ReportedBy: bogon82.kim at samsung.com
                CC: llvmbugs at cs.uiuc.edu
    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.
    
    
More information about the llvm-bugs
mailing list