[LLVMbugs] [Bug 16347] Absurd program results in illegal hardware instruction under optimization

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


Anton Korobeynikov <asl at math.spbu.ru> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |asl at math.spbu.ru
         Resolution|---                         |INVALID

--- Comment #3 from Anton Korobeynikov <asl at math.spbu.ru> ---
This is expected. In some cases optimizers are able to deduce the undefined
behavior, the 'trap' IR opcode is generated. Which is transformed into ud2
during codegen.

Everything is permitted per C++ standard.

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

More information about the llvm-bugs mailing list