[Bug tree-optimization/51446] -fno-trapping-math generates NaN constant with different sign

2011-12-07 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51446 --- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2011-12-07 12:51:39 UTC --- I get -2251799813685248 9221120237041090560 vs. -2251799813685248 -2251799813685248 the subtraction is carried out with 4.7, also with 4.6.2.

[Bug tree-optimization/51446] -fno-trapping-math generates NaN constant with different sign

2011-12-07 Thread lucier at math dot purdue.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51446 --- Comment #2 from lucier at math dot purdue.edu 2011-12-07 19:55:32 UTC --- I don't understand what you're saying. On my linux box heine:~/Downloads uname -a Linux heine 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC 2011 x86_64 x86_64

[Bug tree-optimization/51446] -fno-trapping-math generates NaN constant with different sign

2011-12-07 Thread lucier at math dot purdue.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51446 --- Comment #3 from lucier at math dot purdue.edu 2011-12-07 21:07:09 UTC --- I've looked through the code in real.c a bit (and perhaps the component of this bug report should be changed). It appears that do_divide, when given 0.0/0.0, calls