From 042c8364769ff1642c2227779bceade4b3f14112 Mon Sep 17 00:00:00 2001 From: Dominique d'Humieres Date: Wed, 13 Apr 2016 15:17:45 +0200 Subject: [PATCH] re PR fortran/58000 (Accept OPEN( ... NAME=) with -std=legacy) 2016-04-13 Dominique d'Humieres PR fortran/58000 * gfortran.texi: Document OPEN( ... NAME=) as not implemented in GNU Fortran From-SVN: r234936 --- gcc/fortran/ChangeLog | 6 ++++++ gcc/fortran/gfortran.texi | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 961167b01292..8ab7cacb5803 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2016-04-13 Dominique d'Humieres + + PR fortran/58000 + * gfortran.texi: Document OPEN( ... NAME=) as not implemented + in GNU Fortran + 2016-04-09 Jerry DeLisle PR fortran/68566 diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 257ee7c4e805..2704bc549787 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -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 ---------------------------------------------------------------------