aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique d'Humieres <dominiq@lps.ens.fr>2014-03-26 21:39:42 +0100
committerDominique d'Humieres <dominiq@gcc.gnu.org>2014-03-26 21:39:42 +0100
commit274c7b7b4c6f279d9111b3e7aacf3054d57542d5 (patch)
tree28b6b30cf763b9b9b93c881cf2d7deddaf719196
parent6690cb2ea564dac7c5bbaedc0d005fc6516d31f4 (diff)
downloadgcc-274c7b7b4c6f279d9111b3e7aacf3054d57542d5.zip
gcc-274c7b7b4c6f279d9111b3e7aacf3054d57542d5.tar.gz
gcc-274c7b7b4c6f279d9111b3e7aacf3054d57542d5.tar.bz2
re PR fortran/34928 (Extension: volatile common blocks)
PR fortran/34928 * fortran.texi: Document Volatile COMMON as not supported. From-SVN: r208852
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/fortran/gfortran.texi13
2 files changed, 18 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 3e4d08d..848a76e 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-26 Dominique d'Humieres <dominiq@lps.ens.fr>
+
+ PR fortran/34928
+ * fortran.texi: Document Volatile COMMON as not supported.
+
2014-03-22 Jakub Jelinek <jakub@redhat.com>
PR debug/60603
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index 725ee8d..773ec62 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -2003,6 +2003,7 @@ code that uses them running with the GNU Fortran compiler.
@c * CARRIAGECONTROL, DEFAULTFILE, DISPOSE and RECORDTYPE I/O specifiers::
@c * Omitted arguments in procedure call::
* Alternate complex function syntax::
+* Volatile COMMON blocks::
@end menu
@@ -2197,6 +2198,18 @@ extensions. @command{gfortran} accepts the latter form, which is more
common, but not the former.
+@node Volatile COMMON blocks
+@subsection Volatile @code{COMMON} blocks
+@cindex @code{VOLATILE}
+@cindex @code{COMMON}
+
+Some Fortran compilers, including @command{g77}, let the user declare
+@code{COMMON} with the @code{VOLATILE} attribute. This is
+invalid standard Fortran syntax and is not supported by
+@command{gfortran}. Note that @command{gfortran} accepts
+@code{VOLATILE} variables in @code{COMMON} blocks since revision 4.3.
+
+
@c ---------------------------------------------------------------------
@c Mixed-Language Programming