public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/12921] New: direct access i/o doesn't work
@ 2003-11-05 23:01 jswhit at fastmail dot fm
  2003-11-06  1:55 ` [Bug fortran/12921] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jswhit at fastmail dot fm @ 2003-11-05 23:01 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: direct access i/o doesn't work
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jswhit at fastmail dot fm
                CC: gcc-bugs at gcc dot gnu dot org

this program

program testio
real(4) pi
open(9,file="test.dat",access="direct",form="unformatted",status="new",recl=4)
pi = 4.*atan(1.0)
write(9,rec=1) pi
close(9)
end program testio

gives this runtime error

 At line 3 of file testio.f90                                                    
Fortran runtime error: ACCESS parameter conflicts with SEQUENTIAL access 

using 20031104 CVS.


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

* [Bug fortran/12921] direct access i/o doesn't work
  2003-11-05 23:01 [Bug fortran/12921] New: direct access i/o doesn't work jswhit at fastmail dot fm
@ 2003-11-06  1:55 ` pinskia at gcc dot gnu dot org
  2003-11-15 12:51 ` [Bug fortran/12921] [gfortran] " toon at moene dot indiv dot nluug dot nl
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-06  1:55 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |tree-ssa
            Version|unknown                     |tree-ssa


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

* [Bug fortran/12921] [gfortran] direct access i/o doesn't work
  2003-11-05 23:01 [Bug fortran/12921] New: direct access i/o doesn't work jswhit at fastmail dot fm
  2003-11-06  1:55 ` [Bug fortran/12921] " pinskia at gcc dot gnu dot org
@ 2003-11-15 12:51 ` toon at moene dot indiv dot nluug dot nl
  2004-02-28 12:58 ` [Bug libfortran/12921] " bdavis9659 at comcast dot net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: toon at moene dot indiv dot nluug dot nl @ 2003-11-15 12:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From toon at moene dot indiv dot nluug dot nl  2003-11-15 12:51 -------
Yep, doesn't work.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-15 12:51:31
               date|                            |
            Summary|direct access i/o doesn't   |[gfortran] direct access i/o
                   |work                        |doesn't work


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


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

* [Bug libfortran/12921] [gfortran] direct access i/o doesn't work
  2003-11-05 23:01 [Bug fortran/12921] New: direct access i/o doesn't work jswhit at fastmail dot fm
  2003-11-06  1:55 ` [Bug fortran/12921] " pinskia at gcc dot gnu dot org
  2003-11-15 12:51 ` [Bug fortran/12921] [gfortran] " toon at moene dot indiv dot nluug dot nl
@ 2004-02-28 12:58 ` bdavis9659 at comcast dot net
  2004-03-24 10:53 ` cvs-commit at gcc dot gnu dot org
  2004-03-24 16:01 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: bdavis9659 at comcast dot net @ 2004-02-28 12:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bdavis9659 at comcast dot net  2004-02-28 12:58 -------
Proposed patch

http://gcc.gnu.org/ml/gcc-patches/2004-02/msg02694.html

-- 


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


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

* [Bug libfortran/12921] [gfortran] direct access i/o doesn't work
  2003-11-05 23:01 [Bug fortran/12921] New: direct access i/o doesn't work jswhit at fastmail dot fm
                   ` (2 preceding siblings ...)
  2004-02-28 12:58 ` [Bug libfortran/12921] " bdavis9659 at comcast dot net
@ 2004-03-24 10:53 ` cvs-commit at gcc dot gnu dot org
  2004-03-24 16:01 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-03-24 10:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-03-24 10:53 -------
Subject: Bug 12921

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	tree-ssa-20020619-branch
Changes by:	pbrook@gcc.gnu.org	2004-03-24 10:52:56

Modified files:
	gcc/fortran    : ChangeLog trans-io.c 
	libgfortran    : ChangeLog 
	libgfortran/io : io.h open.c transfer.c unit.c 

Log message:
	PR 12921
	* trans-io.c (gfc_trans_open): Change RECL= to a value parameter.
	* io.h, transfer.c, open.c : recl_in changed from ptr to variable.
	* open.c (new_unit): Moved test for positioned direct access error.
	(init_units): Corrected calculation of max records.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.125&r2=1.1.2.126
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-io.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.7&r2=1.1.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.31&r2=1.1.2.32
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/io.h.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.4&r2=1.1.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/open.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.4&r2=1.1.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/transfer.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.7&r2=1.1.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unit.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.3&r2=1.1.2.4



-- 


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


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

* [Bug libfortran/12921] [gfortran] direct access i/o doesn't work
  2003-11-05 23:01 [Bug fortran/12921] New: direct access i/o doesn't work jswhit at fastmail dot fm
                   ` (3 preceding siblings ...)
  2004-03-24 10:53 ` cvs-commit at gcc dot gnu dot org
@ 2004-03-24 16:01 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-24 16:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-24 16:01 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-03-24 16:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-05 23:01 [Bug fortran/12921] New: direct access i/o doesn't work jswhit at fastmail dot fm
2003-11-06  1:55 ` [Bug fortran/12921] " pinskia at gcc dot gnu dot org
2003-11-15 12:51 ` [Bug fortran/12921] [gfortran] " toon at moene dot indiv dot nluug dot nl
2004-02-28 12:58 ` [Bug libfortran/12921] " bdavis9659 at comcast dot net
2004-03-24 10:53 ` cvs-commit at gcc dot gnu dot org
2004-03-24 16:01 ` 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).