[Bug c/48793] Optimization -O2 Incorrectly Removes Logic

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Wed Apr 27 18:30:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48793

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2011-04-27 18:30:18 UTC ---
Signed integer overflow is undefined.  Use unsigned int or -fwrapv to enable
wrapping semantics.



More information about the Gcc-bugs mailing list