[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-17 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-16 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 --- Comment #16 from Richard Guenther rguenth at gcc dot gnu.org 2011-10-16 09:59:35 UTC --- (In reply to comment #14) Richard said: The documentation states Allow optimizations for floating-point arithmetic that assume that arguments and

[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-16 Thread ejtttje at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 Ethan Tira-Thompson ejtttje at gmail dot com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-15 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 --- Comment #13 from Marc Glisse marc.glisse at normalesup dot org 2011-10-15 09:05:57 UTC --- (In reply to comment #11) I'm guessing (and apologies if this is inaccurate) that this might boil down to saying that you want to interpret an end

[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-15 Thread ejtttje at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 Ethan Tira-Thompson ejtttje at gmail dot com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-15 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-14 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 Michael Matz matz at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED Last

[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 --- Comment #8 from Andrew Pinski pinskia at gcc dot gnu.org 2011-10-14 16:03:06 UTC --- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25975 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28795 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28796

[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-14 Thread ejtttje at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 --- Comment #9 from Ethan Tira-Thompson ejtttje at gmail dot com 2011-10-14 20:07:41 UTC --- Thanks, I think Michael hit the nail on the head for summarizing my intention, I'm satisfied to file this as a feature request (although personally I'd

[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-14 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 --- Comment #10 from Marc Glisse marc.glisse at normalesup dot org 2011-10-14 21:12:40 UTC --- As a library writer, having isnan return false is precisely what I am expecting from -ffinite-math-only. In my code, I implement regular computations

[Bug middle-end/50724] isnan broken by -ffinite-math-only in g++

2011-10-14 Thread ejtttje at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724 --- Comment #11 from Ethan Tira-Thompson ejtttje at gmail dot com 2011-10-14 22:07:44 UTC --- Marc: is this code perusable? I'm curious because I expect either the calculations may generate NaN or not at all. If they might and you even have test