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

Anton Korobeynikov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #3 from Anton Korobeynikov <[email protected]> ---
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to