[llvm-bugs] [Bug 25385] Condition not evaluated correctly on integer (long long) overflow for optimized builds

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 2 15:09:31 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=25385

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 #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Signed overflow / underflow has undefined behavior in C and C++. See

  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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151102/71b5cc91/attachment-0001.html>


More information about the llvm-bugs mailing list