diff options
author | Toon Moene <toon@moene.org> | 2011-12-08 18:38:32 +0000 |
---|---|---|
committer | Toon Moene <toon@gcc.gnu.org> | 2011-12-08 18:38:32 +0000 |
commit | d62023228ddc5ee21a7d0c6297dedba3e1783848 (patch) | |
tree | 9bda75e8bbc8f9c1205567f94d0f726d5fb22fc1 /gcc/fortran/invoke.texi | |
parent | cf0a603a14c6208df29c9d7d93358ecab29ccf2b (diff) | |
download | gcc-d62023228ddc5ee21a7d0c6297dedba3e1783848.zip gcc-d62023228ddc5ee21a7d0c6297dedba3e1783848.tar.gz gcc-d62023228ddc5ee21a7d0c6297dedba3e1783848.tar.bz2 |
re PR fortran/51310 (-finit-bla doesn't initialize *all* items of type bla to the requested constant.)
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: r182127
Diffstat (limited to 'gcc/fortran/invoke.texi')
-rw-r--r-- | gcc/fortran/invoke.texi | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 7337f92..f25af40 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{<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 |