This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/59513] [4.7/4.8/4.9] Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE
- From: "giorgio.signorini at unifi dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 May 2014 13:01:40 +0000
- Subject: [Bug libfortran/59513] [4.7/4.8/4.9] Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE
- Auto-submitted: auto-generated
- References: <bug-59513-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59513
giorgio.signorini at unifi dot it changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |giorgio.signorini at unifi dot it
--- Comment #13 from giorgio.signorini at unifi dot it ---
(In reply to Dominique d'Humieres from comment #11)
> No error with gfortran 4.4.7, 4.5.4, but gfortran 4.6.4 gives the error. So
> marked as a 4.7/4.8/4.9 regression.
>
> When I'll have learnt how to build foil myself, I'll try to do some
> bisection and some reduction.
I think this is connected to bug 44477
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44477), which has been fixed in
gfortran 4.6.
Could it be that the POSITION='APPEND' option acts like a sequence of READs up
to EOF, which in gfortran < 4.6 did a silent, non-standard BACKSPACE?