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

           Summary: possible wrong code bug
           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], [email protected]


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

We think "1" is the right answer.

[reg...@gamow tmp409]$ clang -O small.c -o small
[reg...@gamow tmp409]$ ./small
1
[reg...@gamow tmp409]$ clang -Os small.c -o small
[reg...@gamow tmp409]$ ./small
0
[reg...@gamow tmp409]$ clang -v
clang version 1.5 (trunk 102243)
Target: x86_64-unknown-linux-gnu
Thread model: posix

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