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

           Summary: possible wrong code bug
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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

The -O2 result is definitely the right one.  See using r97881 on Ubuntu 9.10 on
x86.

reg...@john-home:~/volatile/bugs/tmp278$ clang -O2 small.c -o small
reg...@john-home:~/volatile/bugs/tmp278$ ./small
0
reg...@john-home:~/volatile/bugs/tmp278$ clang -O3 small.c -o small
reg...@john-home:~/volatile/bugs/tmp278$ ./small
1

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