[LLVMbugs] [Bug 18588] New: Small test crashes when compiled with Clang at -O2.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 22 21:39:32 PST 2014


            Bug ID: 18588
           Summary: Small test crashes when compiled with Clang at -O2.
           Product: tools
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            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 11923
  --> http://llvm.org/bugs/attachment.cgi?id=11923&action=edit
Source, input file, and ouput for test t6769

This test is one of the tests from

clang version 3.5 (trunk 199677)
Target: x86_64-apple-darwin11.4.2
Thread model: posix

clang t6769.c
./a.out < input.txt
res = 434016592

clang -O2 t6769.c
./a.out < input.txt
Segmentation fault: 11

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/20140123/fd0aec65/attachment.html>

More information about the llvm-bugs mailing list