From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by sourceware.org (Postfix) with ESMTPS id 95E1F3858C00 for ; Mon, 7 Nov 2022 16:21:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 95E1F3858C00 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-pl1-x629.google.com with SMTP id l2so11484842pld.13 for ; Mon, 07 Nov 2022 08:21:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=Jkoz3BTnIDyvZZ4jLyngTagCn9zl3ks0ImdUD7zzQHU=; b=YNE4kFGu18xgHnng/s6/x6pqDtnmGy1ff5vbxgPbP/5xPp9SwbjXkARVStbUYLN7i8 Lk7G+rQuKLNaH+CFaXmEpTAO+VQRDf/HrE3FwS/XK8RaO4ug/wrABIORTnvT9SxL8jMu ZAuHXbkXC1GFgSY6OAQ4PJZ4CYejz1h8/Gdh8GIUQ96fb7YazYVFMXZ56CN2swdyd3F0 kn0jXaSQaODPjziIuOb1CqWXCvd06cLEVX7cqLOPQ25mrNwNWUC32HTghzo39ciBNeQe kABeABUJWuDrLxYA5RrZg1lKyunYJ+FG4hSDkFBg2bNchcJza9HbFjVXqG/VZ0UcNT9F 6WjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=Jkoz3BTnIDyvZZ4jLyngTagCn9zl3ks0ImdUD7zzQHU=; b=aD1BLrcLM+7cKuA5lnpuU+RsGL4vxSaqMrV+R8PgQVL4rNE2vF3aBjwBPDLwiJ1aiQ VOlVbBDT441MzGMhlIyJ8QeCccDicPMZOiBMbjiBT9Xansmob2LHo0P0AbQfkdVWxv5C zJF7zQRRheDJdcGnJZvZ2Vtk+izmccqD6pHAHUaEeewcaM33uQvHYFMmGXa5VgiNTHyU G2FX1JiKBK+VFMQuVhgMsgVP0yCE4kihlvmI85kiZGnHJSmAY7Y282P7UkMXTlv2iX1Z UGb3k10/X+uGexxv0qB4yHfy9bhvM9mYXJWf+dtUTzpLY1YhDwwqMwjMr4SXAP4WsoGb o+yA== X-Gm-Message-State: ACrzQf0u9Uuzxg7MVbiyVSKN3hXZ2i5K2piO0Dyi++Wdb/Q4kZEiEX7M lt/E9K5ZniqNK7myXxPMsrU= X-Google-Smtp-Source: AMsMyM7y4W5qOpz4Pr5ceo1x1rpXpW+4hOEAve/uQLE6o/tcLlLtbK7vDSxrANHjDCZDT3dvUYUB/g== X-Received: by 2002:a17:90b:3b4a:b0:213:589d:d300 with SMTP id ot10-20020a17090b3b4a00b00213589dd300mr52045860pjb.139.1667838087342; Mon, 07 Nov 2022 08:21:27 -0800 (PST) Received: from ?IPV6:2601:681:8600:13d0::f0a? ([2601:681:8600:13d0::f0a]) by smtp.gmail.com with ESMTPSA id d15-20020a17090a7bcf00b0020d51aefb82sm4497847pjl.19.2022.11.07.08.21.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Nov 2022 08:21:26 -0800 (PST) Message-ID: <05c6efad-c842-a2f7-4f4e-9a415e3034db@gmail.com> Date: Mon, 7 Nov 2022 09:21:25 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH 1/2] gcc/file-prefix-map: Allow remapping of relative paths Content-Language: en-US To: Eric Botcazou , Richard Purdie Cc: gcc-patches@gcc.gnu.org References: <20220817121534.1825108-1-richard.purdie@linuxfoundation.org> <2853801.e9J7NaK4W3@fomalhaut> <31e522bea27d3439918ceca9b6eff01f6f2812b7.camel@linuxfoundation.org> <5618710.DvuYhMxLoT@fomalhaut> From: Jeff Law In-Reply-To: <5618710.DvuYhMxLoT@fomalhaut> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 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 11/7/22 01:01, Eric Botcazou via Gcc-patches wrote: >> I can send the obvious patch to make it work as before and ignore the >> NULL which fixes this. I'm not sure if it should really be passing NULL >> around in the first place or not which is why I'm sharing the backtrace. > Thanks for the investigation. That's because the DECL_SOURCE_LOCATION of the > function is UNKNOWN_LOCATION since: > > 2021-08-11 Bernd Edlinger > > PR debug/101598 > * gcc-interface/trans.c (Subprogram_Body_to_gnu): Set the > DECL_SOURCE_LOCATION of DECL_IGNORED_P gnu_subprog_decl to > UNKNOWN_LOCATION. > > That's indeed quite irregular but we have to live with it now. Eric, can you push the approved fix for this issue (look for a message from Richard P day or two back, approved by Richi)?  I'm dealing with a medical issue and heading offline again momentarily. jeff >