[Bug c/25975] Problems with -ffast-math and isnan

terra at gnome dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 26 17:22:00 GMT 2006



------- Comment #4 from terra at gnome dot org  2006-01-26 17:22 -------
ok, thanks.  I'll prevent this by checking for __FAST_MATH__ in my code.
One could argue for a warning like

nan.c:13: warning: comparison is always false due to limited range of data type

for use of isnan and similarly (with true) for finite.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25975



More information about the Gcc-bugs mailing list