From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85154 invoked by alias); 5 Oct 2018 12:11:47 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 85136 invoked by uid 89); 5 Oct 2018 12:11:46 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: EUR01-HE1-obe.outbound.protection.outlook.com Received: from mail-he1eur01on0077.outbound.protection.outlook.com (HELO EUR01-HE1-obe.outbound.protection.outlook.com) (104.47.0.77) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 05 Oct 2018 12:11:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rYLmbVMzxNhbD4JXzB70uA/+ZEqElA57alzLGuwXLvQ=; b=jDKgGk9HEVYa4YthxllnFUzPwZky1ApYsfffNVm0H2/KfKcpv92AUHAefjzo03n9fKAQJ+ItmPt4CHZ0Hz56bE6vCkgkH9I/Gq8cx/xVdwFjtr5T1ZJG6enJlioFsJmCgqMf+r9+GPWnuR5rTqIxmfNlfL4F+N/GCPQUN6Gtoiw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Sam.Tebbs@arm.com; Received: from arm.com (217.140.106.49) by VI1PR08MB3440.eurprd08.prod.outlook.com (2603:10a6:803:7c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.20; Fri, 5 Oct 2018 12:11:40 +0000 Date: Fri, 05 Oct 2018 12:49:00 -0000 From: Sam Tebbs To: gcc-patches@gcc.gnu.org Cc: nd@arm.com Subject: [PATCH][GCC][DOC] Relocate list under Deprecated in options.texi to Var Message-ID: <20181005121136.GA24118@arm.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Return-Path: sam.tebbs@arm.com Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00321.txt.bz2 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-length: 387 Hi all, I recently found what seems to be an error in the options documentation (gcc/doc/options.texi) where a list describing how _var_ is set (referring to the Var attribute) is written beneath the _Deprecated_ attribute instead. This patch moves it to the correct location. gcc/doc 2018-05-10 Sam Tebbs * options.texi (Deprecated): Move list to Var section. --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="latest.patch" Content-length: 1551 diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi index f887d16f88f8e22d280d0ab20a6fde05eb86e3d8..e618b9543511fa102a45c521fe6bd7759c73ef8d 100644 --- a/gcc/doc/options.texi +++ b/gcc/doc/options.texi @@ -314,6 +314,15 @@ The way that the state is stored depends on the type of option: The option is deprecated and every usage of such option will result in a warning. +@item Var(@var{var}, @var{set}) +The option controls an integer variable @var{var} and is active when +@var{var} equals @var{set}. The option parser will set @var{var} to +@var{set} when the positive form of the option is used and @code{!@var{set}} +when the ``no-'' form is used. + +@var{var} is declared in the same way as for the single-argument form +described above. + @itemize @bullet @item If the option uses the @code{Mask} or @code{InverseMask} properties, @@ -351,15 +360,6 @@ and wasn't given. The option-processing script will usually zero-initialize @var{var}. You can modify this behavior using @code{Init}. -@item Var(@var{var}, @var{set}) -The option controls an integer variable @var{var} and is active when -@var{var} equals @var{set}. The option parser will set @var{var} to -@var{set} when the positive form of the option is used and @code{!@var{set}} -when the ``no-'' form is used. - -@var{var} is declared in the same way as for the single-argument form -described above. - @item Init(@var{value}) The variable specified by the @code{Var} property should be statically initialized to @var{value}. If more than one option using the same --6c2NcOVqGQ03X4Wi--