]> gcc.gnu.org Git - gcc.git/commitdiff
re PR fortran/34928 (Extension: volatile common blocks)
authorDominique d'Humieres <dominiq@lps.ens.fr>
Wed, 26 Mar 2014 20:39:42 +0000 (21:39 +0100)
committerDominique d'Humieres <dominiq@gcc.gnu.org>
Wed, 26 Mar 2014 20:39:42 +0000 (21:39 +0100)
        PR fortran/34928
        * fortran.texi: Document Volatile COMMON as not supported.

From-SVN: r208852

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

index 3e4d08d68c08b5096ce74085a7300e0ac47cd9fb..848a76efb3c2e51a89251fbb44d911654a85cde1 100644 (file)
@@ -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
index 725ee8dfc4fe7f9212fcc7d9625eceadc278a246..773ec62a51cf8cb464b7eae4913049c031231082 100644 (file)
@@ -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
This page took 0.066935 seconds and 5 git commands to generate.