aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique d'Humieres <dominiq@lps.ens.fr>2016-04-13 15:17:45 +0200
committerDominique d'Humieres <dominiq@gcc.gnu.org>2016-04-13 15:17:45 +0200
commit042c8364769ff1642c2227779bceade4b3f14112 (patch)
treea699b218e217a3ce0fcd082a1a6110e381b3c12c
parent37947cd0bdd365cc6d8223d9f81fbfbd3942e50b (diff)
downloadgcc-042c8364769ff1642c2227779bceade4b3f14112.zip
gcc-042c8364769ff1642c2227779bceade4b3f14112.tar.gz
gcc-042c8364769ff1642c2227779bceade4b3f14112.tar.bz2
re PR fortran/58000 (Accept OPEN( ... NAME=) with -std=legacy)
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
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/gfortran.texi14
2 files changed, 20 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 961167b..8ab7cac 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -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
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index 257ee7c..2704bc5 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 ---------------------------------------------------------------------