From d62023228ddc5ee21a7d0c6297dedba3e1783848 Mon Sep 17 00:00:00 2001 From: Toon Moene Date: Thu, 8 Dec 2011 18:38:32 +0000 Subject: [PATCH] re PR fortran/51310 (-finit-bla doesn't initialize *all* items of type bla to the requested constant.) 2011-12-08 Toon Moene PR fortran/51310 * invoke.texi: Itemize the cases for which -finit-= doesn't work. From-SVN: r182127 --- gcc/fortran/ChangeLog | 6 ++++++ gcc/fortran/invoke.texi | 16 ++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 6959a70319c..d90aad1548e 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2011-12-08 Toon Moene + + PR fortran/51310 + * invoke.texi: Itemize the cases for which + -finit-= doesn't work. + 2011-12-06 Tobias Burnus PR fortran/51435 diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 7337f9279ba..f25af405c9a 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -1471,10 +1471,18 @@ initialization options are provided by the the real and imaginary parts of local @code{COMPLEX} variables), @option{-finit-logical=@var{}}, 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 -- 2.30.2