This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/15332] New: [gfortran] colon edit descriptor not handled correctly


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]