Hi, the following code does not compile with gfortran, although it does with g77:
PROGRAM GFCBUG19 DOUBLE PRECISION inf, nan c IEEE exceptional values on Intel x87 DATA inf / Z'7FF0000000000000' / DATA nan / Z'FFF8000000000000' / print *, inf, nan END % g77 gfcbug19.f -ftypeless-boz && ./a.out INF NAN % gfc gfcbug19.f -ftypeless-boz f951: error: unrecognized command line option "-ftypeless-boz" % gfc gfcbug19.f In file gfcbug19.f:4 DATA inf / Z'7FF0000000000000' / 1 Error: Integer too big for integer kind 4 at (1) In file gfcbug19.f:5 DATA nan / Z'FFF8000000000000' / 1 Error: Integer too big for integer kind 4 at (1) Cheers, -ha -- Summary: gfortran: regression w.r.t. g77, lacks -ftypeless-boz Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anlauf at hep dot tu-darmstadt dot de CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18026