public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libf2c/4392: Error with list directed format on internal file - ERR=XXX ignored
@ 2001-09-25 5:16 David.Billinghurst
0 siblings, 0 replies; 2+ messages in thread
From: David.Billinghurst @ 2001-09-25 5:16 UTC (permalink / raw)
To: gcc-gnats
>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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libf2c/4392: Error with list directed format on internal file - ERR=XXX ignored
@ 2002-02-02 3:33 toon
0 siblings, 0 replies; 2+ messages in thread
From: toon @ 2002-02-02 3:33 UTC (permalink / raw)
To: David.Billinghurst, gcc-bugs, gcc-prs, nobody, toon
Synopsis: Error with list directed format on internal file - ERR=XXX ignored
Responsible-Changed-From-To: unassigned->toon
Responsible-Changed-By: toon
Responsible-Changed-When: Sat Feb 2 03:33:14 2002
Responsible-Changed-Why:
My job.
State-Changed-From-To: open->closed
State-Changed-By: toon
State-Changed-When: Sat Feb 2 03:33:14 2002
State-Changed-Why:
Not a bug. Error and end-of-file conditions are separate.
ERR= tests for the first condition, END= for the second.
Granted, the wording in the respective Fortran Standards
on this is murky - F2K will address that issue.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4392
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-02 11:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-25 5:16 libf2c/4392: Error with list directed format on internal file - ERR=XXX ignored David.Billinghurst
2002-02-02 3:33 toon
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).