------- Comment #2 from dfranke at gcc dot gnu dot org 2007-05-22 22:41 -------
Regardless whether NaN is defined, in an ordered set MAX(a, b) should always
equal MAX(b, a).
For the record:
$> ifort pr32048.f90 && ./a.out
2.100000
2.100000
$> sunf95 -w4 pr32048.f90 && ./a.out
Floating point exception
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dfranke at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32048