[Bug tree-optimization/31602] Overflow warning causes GDB -Werror build failure
ian at airs dot com
gcc-bugzilla@gcc.gnu.org
Wed Apr 18 14:14:00 GMT 2007
------- Comment #2 from ian at airs dot com 2007-04-18 15:14 -------
Yes, the warning is happening because gcc relies on undefined signed overflow
when assuming that it will execute the loop at least once. Of course when
using -fwrapv the loop should not be executed at all when num > INT_MAX - 10.
I'll try to figure out what to do about this.
--
ian at airs dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|ian at gcc dot gnu dot org |ian at airs dot com
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-04-18 15:14:27
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31602
More information about the Gcc-bugs
mailing list