[Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash
michael dot a dot richmond at nasa dot gov
gcc-bugzilla@gcc.gnu.org
Thu Mar 29 18:55:00 GMT 2007
When run the following program:
PROGRAM test
INTEGER :: i = 1
WRITE(*, 10) i
10 FORMAT('i =',I2:,' this should not print')
END PROGRAM test
It prints:
i = 1 this should not print
If I insert a comma or a slash between "I2" and ":" it will work correctly.
--
Summary: Colon edit descriptor is ignored unless preceded by a
comma or a slash
Product: gcc
Version: 4.3.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=31395
More information about the Gcc-bugs
mailing list