This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash
- From: "michael dot a dot richmond at nasa dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Mar 2007 18:54:49 -0000
- Subject: [Bug fortran/31395] New: Colon edit descriptor is ignored unless preceded by a comma or a slash
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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