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 | |
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
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/invoke.texi | 16 |
2 files changed, 18 insertions, 4 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 6959a70..d90aad1 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -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-06 Tobias Burnus <burnus@net-b.de> PR fortran/51435 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 |