[LLVMbugs] [Bug 6929] New: possible wrong code bug
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Apr 24 21:00:14 PDT 2010
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: unassignedbugs at nondot.org
ReportedBy: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu, chenyang at cs.utah.edu
Created an attachment (id=4734)
--> (http://llvm.org/bugs/attachment.cgi?id=4734)
failure-inducing C code
We think "1" is the right answer.
[regehr at gamow tmp409]$ clang -O small.c -o small
[regehr at gamow tmp409]$ ./small
1
[regehr at gamow tmp409]$ clang -Os small.c -o small
[regehr at gamow tmp409]$ ./small
0
[regehr at 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.
More information about the llvm-bugs
mailing list