re PR fortran/58000 (Accept OPEN( ... NAME=) with -std=legacy)
authorDominique d'Humieres <dominiq@lps.ens.fr>
Wed, 13 Apr 2016 13:17:45 +0000 (15:17 +0200)
committerDominique d'Humieres <dominiq@gcc.gnu.org>
Wed, 13 Apr 2016 13:17:45 +0000 (15:17 +0200)
2016-04-13  Dominique d'Humieres  <dominiq@lps.ens.fr>

PR fortran/58000
* gfortran.texi: Document OPEN( ... NAME=) as not implemented
in GNU Fortran

From-SVN: r234936

gcc/fortran/ChangeLog
gcc/fortran/gfortran.texi

index 961167b01292cd857e7f4a6f52ad122826fe69b2..8ab7cacb5803822af8b87a8eb3fefe63bab8647a 100644 (file)
@@ -1,3 +1,9 @@
+2016-04-13  Dominique d'Humieres  <dominiq@lps.ens.fr>
+
+       PR fortran/58000
+       * gfortran.texi: Document OPEN( ... NAME=) as not implemented
+       in GNU Fortran
+
 2016-04-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR fortran/68566
index 257ee7c4e805457542f58dcd17ca8accee477e3c..2704bc54978768a032cc9a7a142f830baed64494 100644 (file)
@@ -2148,6 +2148,7 @@ code that uses them running with the GNU Fortran compiler.
 @c * Omitted arguments in procedure call::
 * Alternate complex function syntax::
 * Volatile COMMON blocks::
+* OPEN( ... NAME=)::
 @end menu
 
 
@@ -2355,6 +2356,19 @@ invalid standard Fortran syntax and is not supported by
 
 
 
+@node OPEN( ... NAME=)
+@subsection @code{OPEN( ... NAME=)}
+@cindex @code{NAM}
+
+Some Fortran compilers, including @command{g77}, let the user declare
+@code{OPEN( ... NAME=)}. This is
+invalid standard Fortran syntax and is not supported by
+@command{gfortran}.  @code{OPEN( ... NAME=)} should be replaced
+with @code{OPEN( ... FILE=)}.
+
+
+
+@c ---------------------------------------------------------------------
 @c ---------------------------------------------------------------------
 @c Mixed-Language Programming
 @c ---------------------------------------------------------------------