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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to