[LLVMbugs] [Bug 16346] New: illegal hardware instruction optimization enabled

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 17 08:29:07 PDT 2013


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: unassignedclangbugs at nondot.org
          Reporter: so.townsend at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130617/5ddc7c88/attachment.html>


More information about the llvm-bugs mailing list