From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by sourceware.org (Postfix) with ESMTPS id B8101398EC10 for ; Thu, 24 Jun 2021 05:04:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B8101398EC10 Received: by mail-pf1-x42f.google.com with SMTP id 21so4177914pfp.3 for ; Wed, 23 Jun 2021 22:04:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=ux54FQuegsE7t1GaQ+Q/Wp3JzZBPTs4ZfMfNMHqq/Tg=; b=ltParjv63tlZHyT+xxAOaCoU9nqgldy4P/Xk7spX7k6W7QnCjnUB2hjMverv+/aJM8 DUFevqpDeZZilKpQBx1bjVb5ZmfGkoOvr5zsfV7PHB+7vg1fJFZ5CgPrpOnDMJH1m4r6 2NF+D26lcfSVBWhewBI3e0xViwH6FsVs/8DSuuzelyh9QVrtqhkZRboUJdWnRuFr35iG IPJPWczXBqa/qepL0Rmw7JW76uH7ZkK9fQkarys47JcNmWKbn0hdxOpcm9R1JA+hwi1+ 9RT7rMsJepmA/MDVCAszOHe8w208loBwx455+s3LMmX1D15ESj6oSbpEI4Z4Y6dXjy0G OHqg== X-Gm-Message-State: AOAM5339XKce210EZ5GRX33oy3K3tvbQRNeR+CocGPKvRGMPAu9F/A3w jc9l8i3t2O5XBveUdoRofDa6i9TBAEAshg== X-Google-Smtp-Source: ABdhPJzAKHiY8u7XJOBYci52E7dUQby/i5jl3ZB6+PjEKRS1mL/KyN4RHZCrWpB0+hUmWuy+q0TESw== X-Received: by 2002:a63:1848:: with SMTP id 8mr3080192pgy.392.1624511055744; Wed, 23 Jun 2021 22:04:15 -0700 (PDT) Received: from [192.168.1.39] (65-130-74-37.slkc.qwest.net. [65.130.74.37]) by smtp.gmail.com with ESMTPSA id b1sm1083227pjk.51.2021.06.23.22.04.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Jun 2021 22:04:15 -0700 (PDT) Subject: Re: [PATCH 8/13] v2 Use new per-location warning APIs in libcc1 To: Martin Sebor , gcc-patches References: <92db3776-af59-fa20-483b-aa67b17d0751@gmail.com> <47d06c821a53f5bd2246f0fca2c9a693bff6b882.camel@redhat.com> <3a5ea83c-0d91-d123-f537-f8f1223df890@gmail.com> From: Jeff Law Message-ID: Date: Wed, 23 Jun 2021 23:04:12 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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-List-Received-Date: Thu, 24 Jun 2021 05:04:18 -0000 On 6/4/2021 3:42 PM, Martin Sebor via Gcc-patches wrote: > The attached patch replaces the uses of TREE_NO_WARNING in libcc1 with > the new suppress_warning() API. > > gcc-no-warning-libcc1.diff > > Add support for per-location warning groups. > > libcc1/ChangeLog: > > * libcp1plugin.cc (record_decl_address): Replace a direct use > of TREE_NO_WARNING with suppress_warning. OK once prereqs are approved. jeff