[LLVMbugs] [Bug 11453] opt -O2 generates different results

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 27 14:08:09 PST 2014


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #4 from Richard Smith <richard-llvm at metafoo.co.uk> ---
The test case has undefined behavior, and this result is expected. You can use
-fwrapv to stop the 'nsw' flag being emitted.

-- 
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/20140127/9eb2679b/attachment.html>


More information about the llvm-bugs mailing list