From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id 5216F3858CDB for ; Sun, 2 Apr 2023 21:16:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5216F3858CDB Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-x433.google.com with SMTP id bt19so17843399pfb.3 for ; Sun, 02 Apr 2023 14:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680470210; x=1683062210; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=c1l7IUIrBHqXylR6W1VyEIuvds2w9JrSQ29jGV1oXv0=; b=KA6dWOdyorcLszWvioSl3433MrmHIS9alxpCUZwti+BoBJXNrVaNtOpBeAxQnEY5np c37PjyJWNVSakx56BnwmXp0EVKyLoJx0rgo0dg63KJqd6rB6n+lHmNUxWnTsnHYl1ZRX FHCKlQEV1L8StsBbJqNffLV3Sps057fxQwZyCgW3xTF0KedCqN+EiIoaWY79VxuIE3eC vYPaqEk6eMyD4h+uLmLQrHtA3HTr9KlgEYxzlr8EDuBPfrf3JSJKA/ik3hv307T+2Hlp c08t6tgPDMnLb3BEBGEp0g9oXEmbziu3XpSnpNj7UFa32fHg5Sx0TWBOOSwyNULGSoEV L0VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680470210; x=1683062210; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=c1l7IUIrBHqXylR6W1VyEIuvds2w9JrSQ29jGV1oXv0=; b=ulrhuCbVUOY3suHKHyUGroyLL07xh+6+hHnL+fz88TuSCGvjAS2k5zdb2GKbgKavJa +cF1PrCj5s2n99kKMpxQiBIlCnPbwfAqPQyoXt6JbIlFix3UdTqEPdgphxrjyvR1ePwX 9AvPwMwgAxEPnT7gPG4xaEJSjcQhyXos9/QLraoHzX3BPND16ukcnTBgKRTKQ4oWPEb7 bHFLUjdDkWipqexFxuGmNB+ktZhSj9lYoSolXMfo6AssyOz/51Q56hajTKztA84GhlzZ nuwFl8ujou92lGEeoIhwkg4fGQu2IDEKJrZtk+bNxN/DS9+SXYfJieAhcum8IOLvIRqx D6uA== X-Gm-Message-State: AAQBX9duyRkKiCexMuKogIhW8Dz4wuA30XjnwlD67CLgQ9WaOkMmiccs MCjZHvRoke31FcMpPoLTgVM= X-Google-Smtp-Source: AKy350bf90ZOQ7JF1BSyqlyXkDwS9QKm5VsEKpR0XrTHUPtO27wjcafrq9tlJZUb3zk6a9jCDMJNWQ== X-Received: by 2002:aa7:946f:0:b0:62d:b210:8c9d with SMTP id t15-20020aa7946f000000b0062db2108c9dmr17200137pfq.32.1680470209822; Sun, 02 Apr 2023 14:16:49 -0700 (PDT) Received: from ?IPV6:2601:681:8600:13d0::f0a? ([2601:681:8600:13d0::f0a]) by smtp.gmail.com with ESMTPSA id i7-20020aa78d87000000b0062d7e9bb17asm5447414pfr.81.2023.04.02.14.16.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 Apr 2023 14:16:49 -0700 (PDT) Message-ID: <92d404e9-d5c6-45d8-58c3-cb07c51287a5@gmail.com> Date: Sun, 2 Apr 2023 15:16:48 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH] lto/109263 - lto-wrapper and -g0 -ggdb Content-Language: en-US To: Richard Biener , gcc-patches@gcc.gnu.org Cc: Jakub Jelinek References: <20230323160030.02D4813596@imap2.suse-dmz.suse.de> From: Jeff Law In-Reply-To: <20230323160030.02D4813596@imap2.suse-dmz.suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 List-Id: On 3/23/23 10:00, Richard Biener via Gcc-patches wrote: > The following makes lto-wrapper deal with non-combined debug > disabling / enabling option combinations properly. Interestingly > -gno-dwarf also enables debug. > > Bootstrap / regtest running on x86_64-unknown-linux-gnu. > > OK? Or do we want to try harder to zap earlier -g0 when later > -g* appear? > > PR lto/109263 > * lto-wrapper.c (run_gcc): Parse alternate debug options > as well, they always enable debug. So I think the agreement was that later -g options override, but don't completely disable. So OK. Jeff