[LLVMbugs] [Bug 14701] New: Clangs hangs when using -O2 but not -O{0, 1}

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 22 21:24:44 PST 2012


             Bug #: 14701
           Summary: Clangs hangs when using -O2 but not -O{0,1}
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: assie181 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 9758
  --> http://llvm.org/bugs/attachment.cgi?id=9758
Try "clang -Wall -O2 unrarppm.c" to reproduce the problem.

Clangs hangs when using -O2 but not -O{0,1}. I aborted the compilation after
waiting for more than 8 hours.

To reproduce the problem, try running "clang -Wall -O2 unrarppm.c" (file

I am attaching the output of "clang -Wall -O0 -emit-llvm -S unrarppm.c" which
is unrarppm.s as well. 

I am using the SVN version (r170900) dated 22-DEC-2012.

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