[LLVMbugs] [Bug 18650] New: Incorrect result in compiling "clang -O2" version 3.5, trunk 199677

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 28 16:23:13 PST 2014


            Bug ID: 18650
           Summary: Incorrect result in compiling "clang -O2" version 3.5,
                    trunk 199677
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: opt
          Assignee: unassignedbugs at nondot.org
          Reporter: mohammad.r.haghighat at intel.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11966
  --> http://llvm.org/bugs/attachment.cgi?id=11966&action=edit
Test sources including the C programs, inputs, and outputs

"clang" and "clang -O2" give different results on the attached tests. test
t27767 is the smallest of all.

clang t27767.c
./a.out < input.txt
res = 4294934640

clang -O2 t27767.c
./a.out < input.txt
res = 4294934639

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140129/377ec872/attachment.html>

More information about the llvm-bugs mailing list