]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR fortran/51310 (-finit-bla doesn't initialize *all* items of type bla to the...
authorToon Moene <toon@moene.org>
Thu, 8 Dec 2011 20:58:23 +0000 (20:58 +0000)
committerToon Moene <toon@gcc.gnu.org>
Thu, 8 Dec 2011 20:58:23 +0000 (20:58 +0000)
2011-12-08  Toon Moene  <toon@moene.org>

PR fortran/51310
* invoke.texi: Itemize the cases for which
-finit-<type>=<constant> doesn't work.

From-SVN: r182138

gcc/fortran/ChangeLog
gcc/fortran/invoke.texi

index 943f885cdab15d712e6f20bdb40058ddd890ed90..ea5608c2473d20944e8005d28d56a62725eeb954 100644 (file)
@@ -1,3 +1,9 @@
+2011-12-08  Toon Moene  <toon@moene.org>
+
+       PR fortran/51310
+       * invoke.texi: Itemize the cases for which
+       -finit-<type>=<constant> doesn't work.
+
 2011-12-08  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/51448
index 14c720d8e7c44a94e4b22c5727ed46ac8a5fe542..f9d0eb3e5ca74edd7a4c6e3f15eb176504a49fdf 100644 (file)
@@ -1438,10 +1438,18 @@ initialization options are provided by the
 the real and imaginary parts of local @code{COMPLEX} variables),
 @option{-finit-logical=@var{<true|false>}}, and
 @option{-finit-character=@var{n}} (where @var{n} is an ASCII character
-value) options.  These options do not initialize components of derived
-type variables, nor do they initialize variables that appear in an
-@code{EQUIVALENCE} statement.  (This limitation may be removed in
-future releases).
+value) options.  These options do not initialize
+@itemize @bullet
+@item
+automatic arrays
+@item
+allocatable arrays
+@item
+components of derived type variables
+@item
+variables that appear in an @code{EQUIVALENCE} statement.
+@end itemize
+(These limitations may be removed in future releases).
 
 Note that the @option{-finit-real=nan} option initializes @code{REAL}
 and @code{COMPLEX} variables with a quiet NaN. For a signalling NaN