When I compile and run the following program under gfortran 4.5 I get a segfault. It does not segfault under gfortran 4.3 or 4.4. The problem occurs on any platform.
PROGRAM astap ARLXCA = 0.0 WRITE(6,40) ARLXCA WRITE(6,40) ARLXCA 40 FORMAT(T4,"ARLXCA = ",1PG13.6,T27,"ARLXCC = ",G13.6,T53, . "ATMPCA = ",G13.6,T79,"ATMPCC = ",G13.6,T105, . "BACKUP = ",G13.6,/, . T4,"CSGFAC = ",G13.6,T27,"CSGMAX = ",G13.6,T53, . "CSGMIN = ",G13.6,T79,"DRLXCA = ",G13.6,T105, . "DRLXCC = ",G13.6,/, . T4,"DTIMEH = ",G13.6,T27,"DTIMEI = ",G13.6,T53, . "DTIMEL = ",G13.6,T79,"DTIMEU = ",G13.6,T105, . "DTMPCA = ",G13.6,/, . T4,"DTMPCC = ",G13.6,T27,"EBALNA = ",G13.6,T53, . "EBALNC = ",G13.6,T79,"EBALSA = ",G13.6,T105, . "EBALSC = ",G13.6) END PROGRAM astap -- Summary: gfortran 4.5 segfaults when specific FORMAT is invoked twice Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: michael dot a dot richmond at nasa dot gov http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40662