[Bug c++/56652] Wrong code in O2 - if in inline function
markus at trippelsdorf dot de
gcc-bugzilla@gcc.gnu.org
Mon Mar 18 12:15:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56652
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus at trippelsdorf dot
| |de
--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2013-03-18 12:15:21 UTC ---
Quick check with clang -fsanitize=undefined shows:
...
numeric.cc:47:30: fatal error: negation of -2147483648 cannot be represented in
type 'int'; cast to an unsigned type to negate this value to itself
Thus invalid.
More information about the Gcc-bugs
mailing list