public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: David.Billinghurst@riotinto.com
To: gcc-gnats@gcc.gnu.org
Subject: libf2c/4392: Error with list directed format on internal file - ERR=XXX ignored
Date: Tue, 25 Sep 2001 05:16:00 -0000	[thread overview]
Message-ID: <20010925120845.31978.qmail@sourceware.cygnus.com> (raw)

>Number:         4392
>Category:       libf2c
>Synopsis:       Error with list directed format on internal file - ERR=XXX ignored
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 25 05:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Billinghurst
>Release:        g77 2.95.3 and 3.1
>Organization:
>Environment:
i686-pc-cygwin 
>Description:
Attached program dumps core when run.  (Yes, I know it does not conform to Fortran 77 standard).

Works as expected when:
* string is not empty, eg a = 'x', or 
* if a format specifier is supplied.

g77 -O0 bug.f
./a.exe
list in: end of file
apparent state: internal I/O
lately reading direct formatted internal IO
      0 [sig] a 1188 open_stackdumpfile: Dumping stack trace to a.exe.stackdump
Aborted (core dumped)

>How-To-Repeat:
g77 -o bug.exe -O0 bug.f
./bug
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="bug.f"
Content-Disposition: inline; filename="bug.f"

      real x
      character*8 a
      a = ' '
      read(a,*,err=999) x
 999  continue
      end


             reply	other threads:[~2001-09-25  5:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-25  5:16 David.Billinghurst [this message]
2002-02-02  3:33 toon

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=20010925120845.31978.qmail@sourceware.cygnus.com \
    --to=david.billinghurst@riotinto.com \
    --cc=gcc-gnats@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).