http://llvm.org/bugs/show_bug.cgi?id=9428

           Summary: memory pathology
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=6294)
 --> (http://llvm.org/bugs/attachment.cgi?id=6294)
hog-inducing C

Sorry for the unreduced testcase, but these are hard to reduce.

Attached code makes clang use at least 7 GB of RAM on an x86-64 machine at
which point my 6 GB machine is swapping so hard the compiler gets no CPU time.

[regehr@bethe tmp608]$ clang -v 
clang version 3.0 (trunk 127271)
Target: x86_64-unknown-linux-gnu
Thread model: posix
[regehr@bethe tmp608]$ clang -O3 -w small.c

-- 
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

Reply via email to