[LLVMbugs] [Bug 9428] New: memory pathology

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 8 14:09:31 PST 2011


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: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu


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 at bethe tmp608]$ clang -v 
clang version 3.0 (trunk 127271)
Target: x86_64-unknown-linux-gnu
Thread model: posix
[regehr at 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.



More information about the llvm-bugs mailing list