This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly
- From: "Tobias dot Schlueter at physik dot uni-muenchen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2004 22:00:00 -0000
- Subject: [Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This program:
i = 0; j = 1
WRITE(*,100) i, j
WRITE(*,100) i
100 FORMAT("i =",i2,:,", j =",i2)
END
should print:
i = 0, j = 1
i = 0
but it does print
i = 0, j = 1
i = 0, j =
instead, i.e. output doesn't stop after the colon edit descriptor. Most
interestingly fixing the apparent bug WRT this in format.c didn't help, even
though the code transfer.c triggers after this fix. I'm recording this here, so
that someone else can look at it, and so that I don't forget.
--
Summary: [gfortran] colon edit descriptor not handled correctly
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Tobias dot Schlueter at physik dot uni-muenchen dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15332