From patchwork Thu Nov 8 02:49:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sandra Loosemore X-Patchwork-Id: 994622 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-489312-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="Fg+c2xOp"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42r76t58Nwz9sDL for ; Thu, 8 Nov 2018 13:49:55 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=HOBTNyJbECK0P2F9VvQbrgeAEge27wyNxsxSTp36Y68JLUdY47 O7AS+siDmvEkPYi/HOpZOsMNtjUrtB8Q+UQQGronbnZz/FRc9qM9OzGjSmHPZraY yPTO4aQFJwoxyjUYEhf1/i+LxWPLV7XkDEBM+D0OZVqV2xZ0iJo3cfwwE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=D3FSw5e3LCs6R10n7uVr2Tr4SFA=; b=Fg+c2xOpnccrUkiODeb/ XGbKBJ/A8a7OyYE7gI2sSEoiVChg6Bpsuj0rBRdRpDEkPvsx4V47t+PTQHvKhPNt HLDVK8pPTv1b69y5wPDo9AeUea2iNAhgW3ydPrnudzZHIbseq7AyBP/xkbNzynlJ 1V4juEN+5JPuvHRuc8E8lBA= Received: (qmail 51893 invoked by alias); 8 Nov 2018 02:49:48 -0000 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 Received: (qmail 51858 invoked by uid 89); 8 Nov 2018 02:49:46 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=thun, H*r:0800 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Nov 2018 02:49:43 +0000 Received: from svr-orw-mbx-03.mgc.mentorg.com ([147.34.90.203]) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1gKaO5-0003ST-0c from Sandra_Loosemore@mentor.com for gcc-patches@gcc.gnu.org; Wed, 07 Nov 2018 18:49:41 -0800 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 7 Nov 2018 18:49:38 -0800 To: "gcc-patches@gcc.gnu.org" From: Sandra Loosemore Subject: [doc, committed] remove leading dash from @opindex entries Message-ID: <7cb64766-4dfa-862c-2292-29e851d7d2a2@codesourcery.com> Date: Wed, 7 Nov 2018 19:49:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 I noticed this buglet when working on the PR80828 fix: The introductory paragraph to the Option Index appendix says: "GCC’s command line options are indexed here without any initial ‘-’ or ‘--’." Indeed, that was mostly true, but there were ~20 index entries that incorrectly included the leading dash. Fixed thusly. -Sandra Index: gcc/doc/invoke.texi =================================================================== --- gcc/doc/invoke.texi (revision 265903) +++ gcc/doc/invoke.texi (working copy) @@ -2934,7 +2934,7 @@ union U @{ @item -Wabi-tag @r{(C++ and Objective-C++ only)} @opindex Wabi-tag -@opindex -Wabi-tag +@opindex Wabi-tag Warn when a type with an ABI tag is used in a context that does not have that ABI tag. See @ref{C++ Attributes} for more information about ABI tags. @@ -3845,7 +3845,7 @@ a left margin is printed, showing line n left margin. @item -fdiagnostics-minimum-margin-width=@var{width} -@opindex -fdiagnostics-minimum-margin-width +@opindex fdiagnostics-minimum-margin-width This option controls the minimum width of the left margin printed by @option{-fdiagnostics-show-line-numbers}. It defaults to 6. @@ -5734,8 +5734,8 @@ larger. This option warns on all uses of @code{alloca} in the source. @item -Walloca-larger-than=@var{byte-size} -@opindex -Walloca-larger-than= -@opindex -Wno-alloca-larger-than +@opindex Walloca-larger-than= +@opindex Wno-alloca-larger-than This option warns on calls to @code{alloca} with an integer argument whose value is either zero, or that is not bounded by a controlling predicate that limits its value to at most @var{byte-size}. It also warns for calls @@ -6661,8 +6661,8 @@ real to lower precision real values. Th @option{-Wconversion}. @item -Wno-scalar-storage-order -@opindex -Wno-scalar-storage-order -@opindex -Wscalar-storage-order +@opindex Wno-scalar-storage-order +@opindex Wscalar-storage-order Do not warn on suspicious constructs involving reverse scalar storage order. @item -Wsized-deallocation @r{(C++ and Objective-C++ only)} @@ -7263,8 +7263,8 @@ Warn if a variable-length array is used the variable-length array. @item -Wvla-larger-than=@var{byte-size} -@opindex -Wvla-larger-than= -@opindex -Wno-vla-larger-than +@opindex Wvla-larger-than= +@opindex Wno-vla-larger-than If this option is used, the compiler will warn for declarations of variable-length arrays whose size is either unbounded, or bounded by an argument that allows the array size to exceed @var{byte-size} @@ -8942,13 +8942,13 @@ it may significantly increase code size This flag is enabled by default at @option{-O3}. @item -fipa-bit-cp -@opindex -fipa-bit-cp +@opindex fipa-bit-cp When enabled, perform interprocedural bitwise constant propagation. This flag is enabled by default at @option{-O2}. It requires that @option{-fipa-cp} is enabled. @item -fipa-vrp -@opindex -fipa-vrp +@opindex fipa-vrp When enabled, perform interprocedural propagation of value ranges. This flag is enabled by default at @option{-O2}. It requires that @option{-fipa-cp} is enabled. @@ -12559,7 +12559,7 @@ object file names should not be used as Options}. @item -flinker-output=@var{type} -@opindex -flinker-output +@opindex flinker-output This option controls the code generation of the link time optimizer. By default the linker output is determined by the linker plugin automatically. For debugging the compiler and in the case of incremental linking to non-lto object @@ -15105,8 +15105,8 @@ single precision and to 32 bits for doub @item -mlow-precision-sqrt @itemx -mno-low-precision-sqrt -@opindex -mlow-precision-sqrt -@opindex -mno-low-precision-sqrt +@opindex mlow-precision-sqrt +@opindex mno-low-precision-sqrt Enable or disable the square root approximation. This option only has an effect if @option{-ffast-math} or @option{-funsafe-math-optimizations} is used as well. Enabling this reduces @@ -15116,8 +15116,8 @@ If enabled, it implies @option{-mlow-pre @item -mlow-precision-div @itemx -mno-low-precision-div -@opindex -mlow-precision-div -@opindex -mno-low-precision-div +@opindex mlow-precision-div +@opindex mno-low-precision-div Enable or disable the division approximation. This option only has an effect if @option{-ffast-math} or @option{-funsafe-math-optimizations} is used as well. Enabling this reduces @@ -18109,11 +18109,11 @@ Specify the C-SKY target processor. Val @item -mbig-endian @opindex mbig-endian @itemx -EB -@opindex -EB +@opindex EB @itemx -mlittle-endian @opindex mlittle-endian @itemx -EL -@opindex -EL +@opindex EL Select big- or little-endian code. The default is little-endian. @@ -27950,7 +27950,7 @@ preferred alignment to @option{-mpreferr @opindex mvaes @need 200 @itemx -mwaitpkg -@opindex -mwaitpkg +@opindex mwaitpkg @need 200 @itemx -mvpclmulqdq @opindex mvpclmulqdq @@ -28536,7 +28536,7 @@ prevents the compiler from using floatin registers. @item -mindirect-branch=@var{choice} -@opindex -mindirect-branch +@opindex mindirect-branch Convert indirect call and jump with @var{choice}. The default is @samp{keep}, which keeps indirect call and jump unmodified. @samp{thunk} converts indirect call and jump to call and return thunk. @@ -28556,7 +28556,7 @@ Note that @option{-mindirect-branch=thun to disable control-flow check. @item -mfunction-return=@var{choice} -@opindex -mfunction-return +@opindex mfunction-return Convert function return with @var{choice}. The default is @samp{keep}, which keeps function return unmodified. @samp{thunk} converts function return to call and return thunk. @samp{thunk-inline} converts function @@ -28573,7 +28573,7 @@ not be reachable in the large code model @item -mindirect-branch-register -@opindex -mindirect-branch-register +@opindex mindirect-branch-register Force indirect call and jump via register. @end table