--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-22 00:28 ---
Allow optimizations for floating-point arithmetic that assume that
arguments and results are not NaNs or +-Infs.
So really this says allow for them, so really this is still not a bug as you
should read the fine
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-08-22 00:24 ---
-mno-ieee-fp is specificially documented as that so that part is not a bug for
sure.
-funsafe-math-optimizations is already mentioned as a different bug.
So only builtin_isunordered without optimizations with -ffinit
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-22 00:23 ---
For:
gcc main3.c -Wall -ffinite-math-only -O2; ./a.out
I get:
__FINITE_MATH_ONLY__ = 1
__builtin_isunordered() = 0
__builtin_isnan() = 0
( != ) = 0
Note I removed the %f to look at the asm easiler.
--
pinskia a