This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR34928 - Extension: volatile common blocks
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: gcc-patches at gcc dot gnu dot org
- Cc: fortran at gcc dot gnu dot org, sgk at troutmask dot apl dot washington dot edu
- Date: Wed, 26 Mar 2014 18:56:15 +0100
- Subject: Re: [Patch, fortran] PR34928 - Extension: volatile common blocks
- Authentication-results: sourceware.org; auth=none
Updated patch. OK to commit?
Dominique
Index: gcc/fortran/ChangeLog
===================================================================
--- gcc/fortran/ChangeLog (revision 208846)
+++ gcc/fortran/ChangeLog (working copy)
@@ -1,3 +1,9 @@
+2014-03-26 Dominique d'Humieres <dominiq@lps.ens.fr>
+
+ PR fortran/34928
+ * fortran/gfortran.texi: Document Volatile COMMON as not
+ supported.
+
2014-03-22 Jakub Jelinek <jakub@redhat.com>
PR debug/60603
Index: gcc/fortran/gfortran.texi
===================================================================
--- gcc/fortran/gfortran.texi (revision 208846)
+++ gcc/fortran/gfortran.texi (working copy)
@@ -2003,6 +2003,7 @@
@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,7 +2198,19 @@
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 VOLATILE
+variables in COMMON blocks since revision 4.3.
+
+
+
@c ---------------------------------------------------------------------
@c Mixed-Language Programming
@c ---------------------------------------------------------------------