Split off of PR 34230. With Fortran 2003 supporting IEEE, gfortran should also support (case insensitve) the followinging strings: "+NaN"/"-NAN"/"NAN", ["+"/"-"]"Infinity"/"INF".
NAG f95, g95, ifort and sunf95 support it. (And reject, e.g., "Infi".) While openf95, gfortran and g77 reject it. -- Summary: I/O: Support "NaN", "Infinity" and "INF" as input Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34319