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

Benjamin Kramer <[email protected]> changed:

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

--- Comment #1 from Benjamin Kramer <[email protected]> ---
Signed overflow is undefined behavior, optimizing your code is allowed by the C
standard. You can add -fwrapv on the command line to disable optimizations
based on signed integer overflow.

http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html

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