[LLVMbugs] [Bug 8336] New: clang hangs while optimizing a snippet of C code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 8 07:26:49 PDT 2010


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

           Summary: clang hangs while optimizing a snippet of C code
           Product: clang
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pipping at exherbo.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5590)
 --> (http://llvm.org/bugs/attachment.cgi?id=5590)
minimal working example

I've tried to compile wpa_supplicant with clang 2.8. I believe this worked with
clang 2.7, it certainly does with gcc 4.4.4.

While compiling src/crypto/sha256.c, clang appears to hang (or take insanely
long with 100% cpu load)

This does not happen with gcc 4.4.4, or when optimization is turned of (-O1
hangs, -O0 does not). I believe it also didn't happen with clang 2.7 although
I'm not sure.

I've attached a minimal working example.

I'm on amd64 linux 2.6.35.6.

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