From patchwork Mon Dec 5 18:21:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Toon Moene X-Patchwork-Id: 129393 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id C1E3F1007D4 for ; Tue, 6 Dec 2011 05:22:30 +1100 (EST) Received: (qmail 17672 invoked by alias); 5 Dec 2011 18:22:23 -0000 Received: (qmail 17646 invoked by uid 22791); 5 Dec 2011 18:22:20 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from moene.org (HELO moene.org) (82.95.66.103) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Dec 2011 18:22:02 +0000 Received: from localhost ([::1]) by moene.org with esmtp (Exim 4.77) (envelope-from ) id 1RXdAu-0007YU-0i; Mon, 05 Dec 2011 19:22:00 +0100 Message-ID: <4EDD0BC7.4090500@moene.org> Date: Mon, 05 Dec 2011 19:21:59 +0100 From: Toon Moene User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: gfortran , "gcc-patches@gcc.gnu.org" Subject: Update to Fortran "invoke" documentation about the features -finit- *really* provides. X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org And, as indicated, the list might change in the future. ChangeLog: 2011-12-05 Toon Moene PR/51310 invoke.texi: Itemize the cases for which -finit- doesn't work. OK for trunk ? (and perhaps later for the 4.6 branch ? Index: invoke.texi =================================================================== --- invoke.texi (revision 182001) +++ invoke.texi (working copy) @@ -1471,10 +1471,18 @@ 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