From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id 2979E3858421 for ; Mon, 27 Mar 2023 22:18:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2979E3858421 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.98,295,1673942400"; d="scan'208";a="578331" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 27 Mar 2023 14:18:26 -0800 IronPort-SDR: 841Y4ASjM3ToBOuBf3looxlXu2uXA6qxqpi01z3AreOO2IapSxGOswulImzn8bijVNJzGy9DDe HVIoZw3Zjn8ZW1I8D1OjRc/qfPTqaGMod6OkpXlLprFdQypqQITWFi5vI4VdzmNK6RWVtoWZUN zYzxoIiu+iM1tqpcj9DQIvmlx2tCw0Oca+ki4DX/HkXjOC1bpEXRwKMFmPjHl1F3SF9+lNIl6Q mN7TxPCbH7aJz7LrgfYQCnhJzKTbM+glD0UzbaiJtkzg4YolLVEFcgShC2TC83J52ypP1dsacj Mn0= Date: Mon, 27 Mar 2023 22:18:22 +0000 From: Joseph Myers To: Richard Biener CC: , Jakub Jelinek Subject: Re: [PATCH 1/2] Disallow -gno-dwarf, gno-dwarf-N, -gno-gdb and -gno-vms In-Reply-To: <20230324101942.7978E138ED@imap2.suse-dmz.suse.de> Message-ID: <3b397f87-f1f3-1e10-b1a5-269cb6e193a9@codesourcery.com> References: <20230324101942.7978E138ED@imap2.suse-dmz.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-11.mgc.mentorg.com (139.181.222.11) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3107.5 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, 24 Mar 2023, Richard Biener via Gcc-patches wrote: > The following adds RejectNegative to the gdwarf, gdwarf-, ggdb and gvms > options since the current behavior is to treat the negative variant > the same as the positive variant. In particular -ggdb -gno-gdb > do not cancel, and plain -gno-dwarf will enable (dwarf!) debug output. > > Rejecting the negative forms avoids interpreting sensible behavior > to combinations of options like -gdwarf-5 -gno-dwarf-3 and sticks to > the behavior that later -g options simply override earlier ones and > the only negative form is -g0. > > Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? OK. -- Joseph S. Myers joseph@codesourcery.com