This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]