http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48793
--- Comment #2 from Chris DUrso 2011-04-27 22:36:16
UTC ---
Hi Andreas,
Are you saying that
myInteger = -myInteger;
or
if( myInteger < 0 )
is undefined for the integer MIN_INT?
Read a little closer, the overflow/underflow/abs are just
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48793
Summary: Optimization -O2 Incorrectly Removes Logic
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassig..