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?