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

            Bug ID: 16346
           Summary: illegal hardware instruction optimization enabled
           Product: clang
           Version: trunk
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

Created attachment 10690
  --> http://llvm.org/bugs/attachment.cgi?id=10690&action=edit
Crashes with illegal hardware instruction.  Try enabling the commented line of
code.

When compiling an absurd program with optimizations enabled, the compiler emits
illegal code (X86).

Otool dump
----------

a.out
(__TEXT, __text) section
_main:
0000000100000f70 ud2

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