public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/15472] New: [gfortran]  implicit open for unformatted file causes run-time error
@ 2004-05-16 23:25 bdavis9659 at comcast dot net
  2004-05-16 23:54 ` [Bug libfortran/15472] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bdavis9659 at comcast dot net @ 2004-05-16 23:25 UTC (permalink / raw)
  To: gcc-bugs

this from NIST test FM411.FOR


$ cat a.f
      READ (UNIT=9, END = 0023)  I
      STOP
 0023 CONTINUE
      END



$ gfortran a.f
$ ./a.out
At line 1 of file a.f
Fortran runtime error: Missing format for FORMATTED data transfer


$ g77 a.f
$ ./a.out

$ gfortran --version
GNU Fortran 95 (GCC 3.5.0 20040515 (experimental))

-- 
           Summary: [gfortran]  implicit open for unformatted file causes
                    run-time error
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdavis9659 at comcast dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug libfortran/15472] [gfortran]  implicit open for unformatted file causes run-time error
  2004-05-16 23:25 [Bug libfortran/15472] New: [gfortran] implicit open for unformatted file causes run-time error bdavis9659 at comcast dot net
@ 2004-05-16 23:54 ` pinskia at gcc dot gnu dot org
  2004-05-17 22:07 ` bdavis at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-16 23:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-15 23:36 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-15 23:36:00
               date|                            |
            Version|unknown                     |3.5.0


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


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

* [Bug libfortran/15472] [gfortran]  implicit open for unformatted file causes run-time error
  2004-05-16 23:25 [Bug libfortran/15472] New: [gfortran] implicit open for unformatted file causes run-time error bdavis9659 at comcast dot net
  2004-05-16 23:54 ` [Bug libfortran/15472] " pinskia at gcc dot gnu dot org
@ 2004-05-17 22:07 ` bdavis at gcc dot gnu dot org
  2004-07-02  5:11 ` [Bug libfortran/15472] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-05-17 22:07 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bdavis9659 at comcast dot
                   |dot org                     |net
             Status|NEW                         |ASSIGNED


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


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

* [Bug libfortran/15472] implicit open for unformatted file causes run-time error
  2004-05-16 23:25 [Bug libfortran/15472] New: [gfortran] implicit open for unformatted file causes run-time error bdavis9659 at comcast dot net
  2004-05-16 23:54 ` [Bug libfortran/15472] " pinskia at gcc dot gnu dot org
  2004-05-17 22:07 ` bdavis at gcc dot gnu dot org
@ 2004-07-02  5:11 ` pinskia at gcc dot gnu dot org
  2004-07-05  1:19 ` cvs-commit at gcc dot gnu dot org
  2004-07-05 15:43 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-02  5:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-02 05:11 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00130.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug libfortran/15472] implicit open for unformatted file causes run-time error
  2004-05-16 23:25 [Bug libfortran/15472] New: [gfortran] implicit open for unformatted file causes run-time error bdavis9659 at comcast dot net
                   ` (2 preceding siblings ...)
  2004-07-02  5:11 ` [Bug libfortran/15472] " pinskia at gcc dot gnu dot org
@ 2004-07-05  1:19 ` cvs-commit at gcc dot gnu dot org
  2004-07-05 15:43 ` 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-07-05  1:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-05 01:19 -------
Subject: Bug 15472

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bdavis@gcc.gnu.org	2004-07-05 01:19:08

Modified files:
	gcc/testsuite  : ChangeLog 
	libgfortran    : ChangeLog 
	libgfortran/io : transfer.c unix.c 
Added files:
	gcc/testsuite/gfortran.fortran-torture/execute: seq_io.f90 

Log message:
	2004-07-04  Bud Davis  <bdavis9659@comcast.net>
	Paul Brook  <paul@codesourcery.com>
	
	PR fortran/15472
	* io/transfer.c(us_write): set recl for seq unform writes to max size.
	* io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
	* io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
	right time.
	* io/unix.c(is_seekable): set based upon the file/device, not the
	method being used to access it (fd or mmap).
	* io/unix.c(fd_flush): don't set file_size if !seekable.
	* io/unix.c(fd_truncate: ditto.
	* gfortran.fortran-torture/execute/seq_io.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3937&r2=1.3938
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/execute/seq_io.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.47&r2=1.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/transfer.c.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unix.c.diff?cvsroot=gcc&r1=1.6&r2=1.7



-- 


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


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

* [Bug libfortran/15472] implicit open for unformatted file causes run-time error
  2004-05-16 23:25 [Bug libfortran/15472] New: [gfortran] implicit open for unformatted file causes run-time error bdavis9659 at comcast dot net
                   ` (3 preceding siblings ...)
  2004-07-05  1:19 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-05 15:43 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-05 15:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-05 15:43 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.5.0


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


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

end of thread, other threads:[~2004-07-05 15:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-16 23:25 [Bug libfortran/15472] New: [gfortran] implicit open for unformatted file causes run-time error bdavis9659 at comcast dot net
2004-05-16 23:54 ` [Bug libfortran/15472] " pinskia at gcc dot gnu dot org
2004-05-17 22:07 ` bdavis at gcc dot gnu dot org
2004-07-02  5:11 ` [Bug libfortran/15472] " pinskia at gcc dot gnu dot org
2004-07-05  1:19 ` cvs-commit at gcc dot gnu dot org
2004-07-05 15:43 ` 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).