The Fortran standard says that if an OPEN
statement is executed without an explicit ACTION=
specifier, the default value is processor dependent. GNU Fortran behaves as follows:
ACTION='READWRITE'
ACTION='READ'
ACTION='WRITE'
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-5.4.0/gfortran/Files-opened-without-an-explicit-ACTION_003d-specifier.html