public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/31706]  New: recl specified for unformatted sequential file does not work
@ 2007-04-25 18:04 gcc-bugs at wbfb dot de
  2007-04-25 18:54 ` [Bug libfortran/31706] " burnus at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gcc-bugs at wbfb dot de @ 2007-04-25 18:04 UTC (permalink / raw)
  To: gcc-bugs

PROGRAM ReclBug

   OPEN (UNIT= 11, FILE= 'bla', ACCESS= 'SEQUENTIAL', &
         FORM= 'UNFORMATTED', RECL= 1000000, &
         STATUS= 'UNKNOWN', ACTION= 'WRITE', IOSTAT= iostat )

   IF (iostat /= 0) STOP

   WRITE (11) 1,2,3

   CLOSE (11, STATUS= 'KEEP')

 END PROGRAM ReclBug

!! > gfortran recl-bug.f90 -static
!! > ./a.out                             
!! At line 10 of file recl-bug.f90
!! Fortran runtime error: I/O past end of record on unformatted file


-- 
           Summary: recl specified for unformatted sequential file does not
                    work
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc-bugs at wbfb dot de
  GCC host triplet: amd64 Linux


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


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

* [Bug libfortran/31706] recl specified for unformatted sequential file does not work
  2007-04-25 18:04 [Bug libfortran/31706] New: recl specified for unformatted sequential file does not work gcc-bugs at wbfb dot de
@ 2007-04-25 18:54 ` burnus at gcc dot gnu dot org
  2007-04-25 21:16 ` gcc-bugs at wbfb dot de
  2007-04-25 21:39 ` tkoenig at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu dot org @ 2007-04-25 18:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2007-04-25 19:54 -------
What is your gfortran version (gfortran -v)?

I cannot repoduce it with neither -static nor without using
gfortran 4.1.3 20070413 (prerelease)
and 4.3.0 20070425 (experimental)
under x86_64-unknown-linux-gnu


-- 


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


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

* [Bug libfortran/31706] recl specified for unformatted sequential file does not work
  2007-04-25 18:04 [Bug libfortran/31706] New: recl specified for unformatted sequential file does not work gcc-bugs at wbfb dot de
  2007-04-25 18:54 ` [Bug libfortran/31706] " burnus at gcc dot gnu dot org
@ 2007-04-25 21:16 ` gcc-bugs at wbfb dot de
  2007-04-25 21:39 ` tkoenig at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: gcc-bugs at wbfb dot de @ 2007-04-25 21:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from gcc-bugs at wbfb dot de  2007-04-25 22:16 -------
(In reply to comment #1)
> What is your gfortran version (gfortran -v)?
> 
> I cannot repoduce it with neither -static nor without using
> gfortran 4.1.3 20070413 (prerelease)
> and 4.3.0 20070425 (experimental)
> under x86_64-unknown-linux-gnu
> 

 gfortran -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /projects/tob/gcc-4_2-branch/configure
--enable-languages=c,fortran --prefix=/projects/tob/gcc-4.2
Thread model: posix
gcc version 4.2.0 20070301 (prerelease)


-- 


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


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

* [Bug libfortran/31706] recl specified for unformatted sequential file does not work
  2007-04-25 18:04 [Bug libfortran/31706] New: recl specified for unformatted sequential file does not work gcc-bugs at wbfb dot de
  2007-04-25 18:54 ` [Bug libfortran/31706] " burnus at gcc dot gnu dot org
  2007-04-25 21:16 ` gcc-bugs at wbfb dot de
@ 2007-04-25 21:39 ` tkoenig at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-04-25 21:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tkoenig at gcc dot gnu dot org  2007-04-25 22:39 -------
This is PR 31099, fixed on more recent versions of gfortran.

Closing.

*** This bug has been marked as a duplicate of 31099 ***


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2007-04-25 21:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-25 18:04 [Bug libfortran/31706] New: recl specified for unformatted sequential file does not work gcc-bugs at wbfb dot de
2007-04-25 18:54 ` [Bug libfortran/31706] " burnus at gcc dot gnu dot org
2007-04-25 21:16 ` gcc-bugs at wbfb dot de
2007-04-25 21:39 ` tkoenig 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).