[Bug c/31083] for (int i = 1; i != 0; i++); hangs for 32-bit ints with -O2 or above. Should wrap quickly.

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 8 15:33:00 GMT 2007



------- Comment #4 from rguenth at gcc dot gnu dot org  2007-03-08 15:33 -------
Integer overflow is undefined.


-- 

rguenth at gcc dot gnu dot org changed:

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


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



More information about the Gcc-bugs mailing list