From: Toon Moene Date: Thu, 8 Dec 2011 20:58:23 +0000 (+0000) Subject: re PR fortran/51310 (-finit-bla doesn't initialize *all* items of type bla to the... X-Git-Tag: releases/gcc-4.6.3~281 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47b4148a3b1fdb446b9eec761128b8c48f846882;p=thirdparty%2Fgcc.git 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: r182138 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 943f885cdab1..ea5608c2473d 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-08 Tobias Burnus PR fortran/51448 diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 14c720d8e7c4..f9d0eb3e5ca7 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -1438,10 +1438,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