[Bug c++/56652] Wrong code in O2 - if in inline function

2013-03-19 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56652 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/56652] Wrong code in O2 - if in inline function

2013-03-18 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56652 --- Comment #5 from Markus Trippelsdorf 2013-03-18 12:33:50 UTC --- (In reply to comment #4) > (In reply to comment #2) > > Quick check with clang -fsanitize=undefined shows: > > ... > > numeric.cc:47:30: fatal error: negation of -214748

[Bug c++/56652] Wrong code in O2 - if in inline function

2013-03-18 Thread dominik.siatkowski at aldec dot com.pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56652 --- Comment #4 from dominik.siatkowski at aldec dot com.pl 2013-03-18 12:24:17 UTC --- (In reply to comment #2) > Quick check with clang -fsanitize=undefined shows: > ... > numeric.cc:47:30: fatal error: negation of -2147483648 cannot be r

[Bug c++/56652] Wrong code in O2 - if in inline function

2013-03-18 Thread dominik.siatkowski at aldec dot com.pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56652 --- Comment #3 from dominik.siatkowski at aldec dot com.pl 2013-03-18 12:16:35 UTC --- Is seems its 4.7 reggresion. Example works if compiled with 4.6.2

[Bug c++/56652] Wrong code in O2 - if in inline function

2013-03-18 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56652 Markus Trippelsdorf changed: What|Removed |Added CC||markus at trippelsdorf dot

[Bug c++/56652] Wrong code in O2 - if in inline function

2013-03-18 Thread dominik.siatkowski at aldec dot com.pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56652 --- Comment #1 from dominik.siatkowski at aldec dot com.pl 2013-03-18 12:05:05 UTC --- Created attachment 29691 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29691 example