public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libf2c/7236: OPEN(...,RECL=nnn,...) without ACCESS='DIRECT' should assume a direct access file.
@ 2002-07-08 12:36 Toon, Moene
0 siblings, 0 replies; 2+ messages in thread
From: Toon, Moene @ 2002-07-08 12:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 7236
>Category: libf2c
>Synopsis: OPEN(...,RECL=nnn,...) without ACCESS='DIRECT' should assume a direct access file.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Mon Jul 08 12:35:59 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Toon Moene <toon@moene.indiv.nluug.nl
>Release: gcc-3.x
>Organization:
>Environment:
All
>Description:
The following program:
open(unit=1,file='datafile.dat',recl=132,status='old')
Read(1,10) x,y,z
10 FOrmat(3f10.2)
end
fails with:
sfe: formatted io not allowed
apparent state: unit 1 named datafile.dat
lately reading sequential formatted external IO
probably because it assumes direct access (due to the
recl=132 clause) which defaults to unformatted I/O.
>How-To-Repeat:
>Fix:
Should implement Fortran 90 semantics, i.e., assume
a sequential file (because ACCESS='DIRECT' is not
specified) and hence formatted I/O.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libf2c/7236: OPEN(...,RECL=nnn,...) without ACCESS='DIRECT' should assume a direct access file.
@ 2002-07-10 14:22 toon
0 siblings, 0 replies; 2+ messages in thread
From: toon @ 2002-07-10 14:22 UTC (permalink / raw)
To: Moene, Toon, gcc-bugs, gcc-prs, nobody, toon
Synopsis: OPEN(...,RECL=nnn,...) without ACCESS='DIRECT' should assume a direct access file.
Responsible-Changed-From-To: unassigned->toon
Responsible-Changed-By: toon
Responsible-Changed-When: Wed Jul 10 14:22:22 2002
Responsible-Changed-Why:
Fortran Maintainer.
State-Changed-From-To: open->closed
State-Changed-By: toon
State-Changed-When: Wed Jul 10 14:22:22 2002
State-Changed-Why:
Fixed for next major release.
See: http://gcc.gnu.org/ml/gcc-cvs/2002-07/msg00242.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7236
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-10 21:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-08 12:36 libf2c/7236: OPEN(...,RECL=nnn,...) without ACCESS='DIRECT' should assume a direct access file Toon, Moene
2002-07-10 14:22 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).