public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/19216] New: formatted read with leading slash
@ 2005-01-01  3:38 bdavis at gcc dot gnu dot org
  2005-01-01  3:41 ` [Bug libfortran/19216] list directed " bdavis at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2005-01-01  3:38 UTC (permalink / raw)
  To: gcc-bugs

This is from FM923.FOR

$ cat b.f
       INTEGER J1I(3)
       DATA J1I / 3,2,1 /
       WRITE(20,'(A)')'/ 10 20 30'
       WRITE(20,'(A)')'1 2 3 4'
       WRITE(20,'(A)')'5 6 7 8'
       REWIND(20)
       READ(20,*) (J1I(IVI), IVI=1,3)
       PRINT*,(J1I(IVI), IVI=1,3)
       READ(20,*) I,J
       PRINT*,I,J
       READ(20,*) I,J
       PRINT*,I,J
       END
$ gfc b.f
$ ./a.out
           1           2           1
           5           6
At line 11 of file b.f
Fortran runtime error: End of file
$ g77 b.f
$ ./a.out
 3 2 1
 1 2
 5 6

$ gfc --version
GNU Fortran 95 (GCC 4.0.0 20050101 (experimental))

-- 
           Summary: formatted read with leading slash
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdavis at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-06-18 23:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-01  3:38 [Bug libfortran/19216] New: formatted read with leading slash bdavis at gcc dot gnu dot org
2005-01-01  3:41 ` [Bug libfortran/19216] list directed " bdavis at gcc dot gnu dot org
2005-01-01  3:42 ` pinskia at gcc dot gnu dot org
2005-01-06 14:43 ` [Bug libfortran/19216] list directed read with leading slash (NIST FM923) tobi at gcc dot gnu dot org
2005-04-15  8:59 ` fxcoudert at gcc dot gnu dot org
2005-04-18  7:05 ` cvs-commit at gcc dot gnu dot org
2005-04-18  7:18 ` [Bug libfortran/19216] [4.0 only] " fxcoudert at gcc dot gnu dot org
2005-05-30 15:17 ` kargl at gcc dot gnu dot org
2005-06-01 11:17 ` [Bug libfortran/19216] " fxcoudert at gcc dot gnu dot org
2005-06-02  5:45 ` fxcoudert at gcc dot gnu dot org
2005-06-16 22:51 ` cvs-commit at gcc dot gnu dot org
2005-06-16 23:01 ` cvs-commit at gcc dot gnu dot org
2005-06-16 23:04 ` fxcoudert at gcc dot gnu dot org
2005-06-18 23:19 ` pinskia 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).