From patchwork Fri Jan 27 01:54:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Oliva X-Patchwork-Id: 49039 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp593974wrn; Thu, 26 Jan 2023 17:56:04 -0800 (PST) X-Google-Smtp-Source: AK7set8T8lqU6BJjUnvfC8YMTkMYagP6VdF5bxZNtAALi88pJDl8lZCuofpVA+3VIpmb6Q5Xqavf X-Received: by 2002:a17:906:a093:b0:878:7349:5ce6 with SMTP id q19-20020a170906a09300b0087873495ce6mr3275680ejy.71.1674784564197; Thu, 26 Jan 2023 17:56:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674784564; cv=none; d=google.com; s=arc-20160816; b=TBBuG9rfd3af5fNvPABwVfY0EXW975z2gML1aptrVhaoc4oKIcN4JjlhRnrQOIYdx4 UNsQA5ACSkQuvc3Hn22dR7WdmT0iRJuzz2yM0ZZn0vxYTR1eZ7pt//Ratz2ac3b3pKcN x6giehMQXoHwaHpuIZV9hf26yccRhvsw3Ufd1PxcAXsSUztI1KzQc+kFHv6d9ESNHh9A oRmBlKxnGOeJe2zsiIuUoH/VIYPZAa3U0wGB6N/r8dOratNC8zD+hl/xlWuAXsBOKRck hzgOrzdeefQcqQ7iGEXbiQlNL+ZiFAI2gNYIBgGTL//NXMBuR+pr88rCYQAyTXlKAq+0 anOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:mime-version :user-agent:message-id:date:organization:subject:to:dmarc-filter :delivered-to:dkim-signature:dkim-filter; bh=VmCjgye3D9NViREqStJNvGT+SU0yWhbp6LNo8y2XIdw=; b=NsJwfPQSsdJvpOjqfcb+MCuEuodWRXo3go8kgJQlO9kg+anXWTLdHbTbRD3cZY6gJ2 7SgnOaByTT6Ur8nDuBvtM1J4izyCQe1GkoG8CtvgA/zijhEA9T6PpzpcxUmvIUPHa86m ErrYruHIPepiSDjgYRpwL2uh4flxTc3JMQVkG3Y6QMiNYXzS1GuiVxl57bCSgedF9LsZ QhSyhz1drxbzkwhE/ldJCJFdcOv1x1wKsIyQ8zkegatW4mfRnQMoPi31LmskchCKunCI aXcFlEU55pQUF1jBwiFgO/uQETO5kB1GoyJkD1+GDQfMa/PRCooFTHfbk9J2pxp9VIFU DRPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=qDtdLgHN; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id v15-20020a17090651cf00b0086deeba29cbsi2936300ejk.561.2023.01.26.17.56.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 17:56:04 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=qDtdLgHN; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E6B7C3858C2C for ; Fri, 27 Jan 2023 01:56:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E6B7C3858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674784562; bh=VmCjgye3D9NViREqStJNvGT+SU0yWhbp6LNo8y2XIdw=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=qDtdLgHN4+W37lWS9KyRXRhCOjTOdkxtZfd0WcOP4vj7cqYaG/uSkZAMVEDryHMXj CfXjW7FC2yugu8h9NsTjwrhzKlo6IsO0GijpTFhsp6vwiEsRBJ/MjZztsw4ZUkdXYP TV8rrWUFRNj9q6lu6HwXiDg/vemCFrvMYtlzlXSI= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id EDCE63858D20 for ; Fri, 27 Jan 2023 01:54:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EDCE63858D20 Received: from linux-libre.fsfla.org ([209.51.188.54] helo=free.home) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLDxC-0006DK-4o for gcc-patches@gcc.gnu.org; Thu, 26 Jan 2023 20:54:58 -0500 Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 30R1slMA285553 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 26 Jan 2023 22:54:47 -0300 To: gcc-patches@gcc.gnu.org Subject: [FYI] [docs] note that -g opts are implicitly negatable too Organization: Free thinker, not speaking for the GNU Project Date: Thu, 26 Jan 2023 22:54:46 -0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-8.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alexandre Oliva via Gcc-patches From: Alexandre Oliva Reply-To: Alexandre Oliva Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756138898953347849?= X-GMAIL-MSGID: =?utf-8?q?1756138898953347849?= Back in 2017, I made -g* options implicitly negatable, without realizing there was documentation that required updating. Oops. Fixed, at last! Regstrapped on x86_64-linux-gnu. I'm installing this as obvious. for gcc/ChangeLog * doc/options.texi (option, RejectNegative): Mention that -g-started options are also implicitly negatable. --- gcc/doc/options.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi index c6e73fd1818ed..f50063c97870b 100644 --- a/gcc/doc/options.texi +++ b/gcc/doc/options.texi @@ -161,7 +161,7 @@ the help text to use for @option{--help} (omitted if the second field contains the @code{Undocumented} property). @end enumerate -By default, all options beginning with ``f'', ``W'' or ``m'' are +By default, all options beginning with ``f'', ``g'', ``W'' or ``m'' are implicitly assumed to take a ``no-'' form. This form should not be listed separately. If an option beginning with one of these letters does not have a ``no-'' form, you can use the @code{RejectNegative} @@ -239,8 +239,8 @@ and should not be accepted by the driver. @item RejectNegative The option does not have a ``no-'' form. All options beginning with -``f'', ``W'' or ``m'' are assumed to have a ``no-'' form unless this -property is used. +``f'', ``g'', ``W'' or ``m'' are assumed to have a ``no-'' form unless +this property is used. @item Negative(@var{othername}) The option will turn off another option @var{othername}, which is