public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Thomas dot Koenig at online dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/19596] New: eor generates false error message with advance='NO'
Date: Sun, 23 Jan 2005 20:56:00 -0000	[thread overview]
Message-ID: <20050123205646.19596.Thomas.Koenig@online.de> (raw)

This is an error in the same field as PR 19595.

$ cat eor2.f90
program main
  character*3 c
  open(12)
  write(12,'(A)') '123','456'
  rewind(12)
  read(12,'(A3)',advance='NO',eor=100) c
  call abort
100 continue
end program main
$ gfortran eor2.f90
$ ./a.out
At line 6 of file eor2.f90
Fortran runtime error: EOR specification requires an ADVANCE specification of NO
$ gfortran -v ; gfortran -dumpmachine
Using built-in specs.
Configured with: ../gcc/configure --prefix=/home/ig25 --enable-languages=c,f95
Thread model: posix
gcc version 4.0.0 20050123 (experimental)
i686-pc-linux-gnu
$

-- 
           Summary: eor generates false error message with advance='NO'
           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=19596


             reply	other threads:[~2005-01-23 20:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-23 20:56 Thomas dot Koenig at online dot de [this message]
2005-01-24  8:14 ` [Bug libfortran/19596] " Thomas dot Koenig at online dot de
2005-01-24 20:37 ` Thomas dot Koenig at online dot de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050123205646.19596.Thomas.Koenig@online.de \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).