public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/19595] New: eor and advance="yes" should not mix
@ 2005-01-23 20:50 Thomas dot Koenig at online dot de
  2005-01-24  8:13 ` [Bug libfortran/19595] " Thomas dot Koenig at online dot de
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Thomas dot Koenig at online dot de @ 2005-01-23 20:50 UTC (permalink / raw)
  To: gcc-bugs

$ cat eor.f90
program main
  character*3 c
  open(12)
  write(12,'(A)') '123','456'
  rewind(12)
  read(12,'(A3)',advance='YES',eor=100) c
100 continue
end program main
$ gfortran eor.f90
$ ./a.out

Eor is only legal if advance='NO' is specified. It would be nice
if the above would generate an error.

        Thomas

-- 
           Summary: eor and advance="yes" should not mix
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-06-05  7:44 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-23 20:50 [Bug libfortran/19595] New: eor and advance="yes" should not mix Thomas dot Koenig at online dot de
2005-01-24  8:13 ` [Bug libfortran/19595] " Thomas dot Koenig at online dot de
2005-01-24 20:38 ` Thomas dot Koenig at online dot de
2005-01-25 12:45 ` Thomas dot Koenig at online dot de
2005-01-26 21:43 ` [Bug libfortran/19595] eor does not work Thomas dot Koenig at online dot de
2005-01-26 21:48 ` pinskia at gcc dot gnu dot org
2005-01-29 15:45 ` cvs-commit at gcc dot gnu dot org
2005-01-29 15:46 ` pbrook at gcc dot gnu dot org
2005-01-29 15:47 ` pbrook at gcc dot gnu dot org
2005-01-29 15:47 ` pbrook at gcc dot gnu dot org
2005-01-30 14:41 ` pinskia at gcc dot gnu dot org
2005-02-13  0:20 ` pinskia at gcc dot gnu dot org
2005-04-10  8:36 ` cvs-commit at gcc dot gnu dot org
2005-04-10  8:39 ` tkoenig at gcc dot gnu dot org
2005-05-03 19:41 ` [Bug libfortran/19595] [4.0 only] " cvs-commit at gcc dot gnu dot org
2005-05-03 19:45 ` tkoenig at gcc dot gnu dot org
2005-05-03 19:51 ` tkoenig at gcc dot gnu dot org
2005-05-03 19:51 ` tkoenig at gcc dot gnu dot org
2005-06-05  7:44 ` 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).