------- Comment #20 from rguenth at gcc dot gnu dot org  2006-10-24 09:19 
-------
This is now nearly fixed.  What is remaining is that specifying the
-mno-ieee-fp
target option does not set flag_finite_math_only, but I am not sure if it
should so.  This causes

[ollmia:/tmp] iano% gcc main3.c -Wall -mno-ieee-fp ; ./a.out
__FINITE_MATH_ONLY__ = 0
__builtin_isunordered(nan,nan) = 1
__builtin_isnan(nan) = 1
 (nan != nan) = 0

to be still inconsistent.

I would rather deprecate -mno-ieee-fp than doing this.  Or do both.


-- 


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

Reply via email to