From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by sourceware.org (Postfix) with ESMTPS id E877D398E474 for ; Thu, 24 Jun 2021 05:02:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E877D398E474 Received: by mail-pf1-x42b.google.com with SMTP id y4so4143479pfi.9 for ; Wed, 23 Jun 2021 22:02:26 -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=NPYNYiGo+yWTTAW+sht3HopqDisZ7s7BwkU5mPrk7RA=; b=XK0T6w4rz8DWBaR8RoSy3qERtEek/OvHM+E0qe6ECLuNwY25y4I4dRzzsBbQ9Zgo7N +Weu0KfkWrbkcPcqJBbaDKYkn/NyJtSH5vswCb5wc2eoYH+8OdpRJqcod2D/gi7tOgOz YraAVLIN9FTqMJklGYn65mWh6QBLgfBkepCEUehTJVY74He4yHjI/RXMCITJD1mLKiwc c5ompLLIDtnh/pCRgmzVO2BUNRaaqsEujWAGzKVmJcN5slFI2FmWTSIdhP0GJxp4gPVv 88fqqh204PlqJECaP3l/rSEdB4GtO8qOu33kr86BLfRXpMigqmTtluJN+q1DxBibgpZk CPCg== X-Gm-Message-State: AOAM531yp4SEsdaToAb9E1gjva0G+rtweSCtiSeQm2tGHBMUTkLm83dQ tZywOn0wdBOJIEri8z5B0PluF4sqyVxzbQ== X-Google-Smtp-Source: ABdhPJzn1tnPSAbujBgYyuJIQ8W+qeB9QMH0CzbcPCeFd4ffBsCnE2lHzBu40zmxLrjDELpkXu0n9w== X-Received: by 2002:a63:3d8f:: with SMTP id k137mr3044994pga.161.1624510945808; Wed, 23 Jun 2021 22:02:25 -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 ge24sm7210443pjb.18.2021.06.23.22.02.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Jun 2021 22:02:25 -0700 (PDT) Subject: Re: [PATCH 11/13] v2 Use new per-location warning APIs in the Objective-C front end To: Martin Sebor , gcc-patches References: <92db3776-af59-fa20-483b-aa67b17d0751@gmail.com> <47d06c821a53f5bd2246f0fca2c9a693bff6b882.camel@redhat.com> <3a5ea83c-0d91-d123-f537-f8f1223df890@gmail.com> <969d1ed9-5a7e-5e30-dae0-ac0937bdfaa6@gmail.com> From: Jeff Law Message-ID: Date: Wed, 23 Jun 2021 23:02:22 -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: <969d1ed9-5a7e-5e30-dae0-ac0937bdfaa6@gmail.com> Content-Language: en-US X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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:02:28 -0000 On 6/4/2021 3:43 PM, Martin Sebor via Gcc-patches wrote: > The attached patch replaces the uses of TREE_NO_WARNING in > the Objective-C front end with the new suppress_warning(), > warning_suppressed_p(), and copy_warning() APIs. > > gcc-no-warning-objc.diff > > Add support for per-location warning groups. > > gcc/objc/ChangeLog: > > * objc-act.c (objc_maybe_build_modify_expr): Replace direct uses > of TREE_NO_WARNING with warning_suppressed_p, and suppress_warning. > (objc_build_incr_expr_for_property_ref): Same. > (objc_build_struct): Same. > (synth_module_prologue): Same. > * objc-gnu-runtime-abi-01.c (gnu_runtime_01_initialize): Same. > * objc-next-runtime-abi-01.c (next_runtime_01_initialize): Same. > * objc-next-runtime-abi-02.c (next_runtime_02_initialize): Same. OK once prereqs are approved. Jeff