[LLVMbugs] [Bug 14157] Optimizer problem in case of multiplication of long long int's with an arithmetic overflow

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 23 16:23:35 PDT 2012


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

Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sharparrow1 at yahoo.com
         Resolution|                            |INVALID

--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> 2012-10-23 18:23:35 CDT ---
Undefined behavior per the C standard.  Try using an unsigned integer (or
-fwrapv if you need to make clang accept existing code).

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list