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 67814398EC0F for ; Thu, 24 Jun 2021 05:03:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 67814398EC0F Received: by mail-pf1-x433.google.com with SMTP id w71so4170903pfd.4 for ; Wed, 23 Jun 2021 22:03:44 -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=p4IAdfDkutlrBfnr2yNL6TTNlcmV7HPne+TQhYkxX/Q=; b=ZjNXE/mcRJm7rhA99kXrIyui+isRgHeABzVO9bNuUXqWO44dvInRHToQr65NFPIbD6 wfOqCkkGYVTTULD7Pmfuqh+4SiclgYxrC9dI4yMjsXFAseh3EjkElYc0AnUPZqMo7e4r aAf6jEnefQ8GRwIaGToEXZJVgiLv50xraPJcpVwj1apCf1ZY6rGVM2lqHi+LpcZubsOK b3F/2tvZ22ZpKGqRQSyOj7iRHtXBu5ZRCme+I1uWiAA9YUgjAyWlkcMDmKDO6aSv8Qng 2zZCMvkxRV95QVaqxu/rVkQA8J1TolOJC64r6lG8kWzB5FaemL9iqhmGu5bP3dQzdqMC w8Ew== X-Gm-Message-State: AOAM531XDq0YOafvUqk9mI+iLlgzUCZtesibnvOX0PUwJJH3aR7RB/3v C5epuxWxl4lQ+S+ghNCfrs+5UZEKa2hTug== X-Google-Smtp-Source: ABdhPJwvcPxuiqlR+Z8jffqnaE7GYJlXW12618BfsCRbapFL17vDVjqf2umiNnFaTBA2bt/EFMVF5A== X-Received: by 2002:aa7:9569:0:b029:2f8:2cf3:e9dd with SMTP id x9-20020aa795690000b02902f82cf3e9ddmr3414818pfq.10.1624511023437; Wed, 23 Jun 2021 22:03:43 -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 z6sm830174pgs.24.2021.06.23.22.03.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Jun 2021 22:03:43 -0700 (PDT) Subject: Re: [PATCH 9/13] v2 Use new per-location warning APIs in LTO To: Martin Sebor , gcc-patches References: <92db3776-af59-fa20-483b-aa67b17d0751@gmail.com> <47d06c821a53f5bd2246f0fca2c9a693bff6b882.camel@redhat.com> <3a5ea83c-0d91-d123-f537-f8f1223df890@gmail.com> <59693cea-164e-bf51-d62a-096edcdb5218@gmail.com> From: Jeff Law Message-ID: Date: Wed, 23 Jun 2021 23:03:40 -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: <59693cea-164e-bf51-d62a-096edcdb5218@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: 8bit 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:03:47 -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 LTO > front end with the new suppress_warning() API.  It adds a couple of > FIXMEs that I plan to take care of in a follow up. > > gcc-no-warning-lto.diff > > Add support for per-location warning groups. > > gcc/lto/ChangeLog: > > * gimple-streamer-out.c (output_gimple_stmt): Same. > * lto-common.c (compare_tree_sccs_1): Expand use of TREE_NO_WARNING. > * lto-streamer-out.c (hash_tree): Same. > * tree-streamer-in.c (unpack_ts_base_value_fields): Same. > * tree-streamer-out.c (pack_ts_base_value_fields): Same. OK once prereqs are approved. jeff