http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48793
--- Comment #3 from Andrew Pinski 2011-04-27
22:59:51 UTC ---
(In reply to comment #2)
> myInteger = -myInteger;
>
> is undefined for the integer MIN_INT?
The above is undefined for the value of MIN_INT. As there is an overflow as
-MIN_INT is
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
Andreas Schwab changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|