http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48979
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-05-12 17:49:25 UTC --- (In reply to comment #2) > Whether this really is a bug or not depends on whether one thinks that a > standard-compliant Fortran program should compile without requiring special > options (I do). So do I - but the question is whether it is standard conforming. NAN and INF are not Fortran numbers, cf. "13.4 Numeric models". Admittedly, IEEE and Fortran model numbers are widely mixed in the standard. However, strictly speaking, the IEEE functionality is only available if the relevant IEEE module is loaded and the feature is marked as supported. However, I have to admit that the error message should mention -fno-range-check; currently, it does not.