public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/34565]  New: internal write to string array fails
@ 2007-12-23 11:38 burnus at gcc dot gnu dot org
  2007-12-23 17:03 ` [Bug fortran/34565] " jvdelisle at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-12-23 11:38 UTC (permalink / raw)
  To: gcc-bugs

More bugs found via the test suite

Gfortran 4.1, 4.2 and 4.3 show the run-time error:
    Fortran runtime error: End of file

implicit none
integer :: i
character(len=6) :: c (5) = ""
write (c (5:1:-2), "(I2,I2,I2)") 5,3,1
if (any(c(1:4) /= "")) stop 'ERROR 1'
if (c(5) /= " 5 3 1") stop 'ERROR 2'
do i = 1, 5
  print '(i0,3a)', i, '"',c(i),'"'
end do
end


-- 
           Summary: internal write to string array fails
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
OtherBugsDependingO 32834
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34565


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-01-03 19:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-23 11:38 [Bug fortran/34565] New: internal write to string array fails burnus at gcc dot gnu dot org
2007-12-23 17:03 ` [Bug fortran/34565] " jvdelisle at gcc dot gnu dot org
2007-12-26 14:22 ` tkoenig at gcc dot gnu dot org
2007-12-27 15:07 ` tkoenig at gcc dot gnu dot org
2007-12-27 15:36 ` tkoenig at gcc dot gnu dot org
2007-12-28  1:00 ` jvdelisle at gcc dot gnu dot org
2007-12-28 13:16 ` tkoenig at gcc dot gnu dot org
2007-12-28 15:39 ` jvdelisle at gcc dot gnu dot org
2008-01-03 20:11 ` tkoenig at gcc dot gnu dot org
2008-01-03 20:12 ` tkoenig at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).