From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id 65B683858D38 for ; Mon, 7 Nov 2022 08:01:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 65B683858D38 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-wm1-x32d.google.com with SMTP id p13-20020a05600c468d00b003cf8859ed1bso6631493wmo.1 for ; Mon, 07 Nov 2022 00:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7Bg/A7Q22khwx+v6dEkhTTzXA7C3fz+ntcg7pEJY6t0=; b=eB69jItktGL2cyY2SP8JmKcc6MTEyPK8ruA/YCiN9KRuhVOBblwDalcYqsnEJJhybu DPmnQNflThukbjpAqwAJeMVgZr7bRlmI5Ibn/8GDHIq6i7eTlvSsVMPlqDiCIyhXrO6m tcUAH6zcZqlkasdgGxfDzoqrsp1ATLjeb6W3E1t0QQQf/qEChBNwM4XGNRHBanDf/R0d me4BIRujo8DJM3jG/G9yVCyyCp2IPc/SVOZwYe3bDpl+nxJ9oZvCPS5TFvN7jUEREgMa VYa26nUUo1v2+vs/Nww1uWmzSgpFNfjDs5nYC69cecqsHjnhN/6bKqiAthXtBh403guG kZFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7Bg/A7Q22khwx+v6dEkhTTzXA7C3fz+ntcg7pEJY6t0=; b=KAVo+qMhEEGiqlLbs0dHOrpvBzSq0jZ+nWDC5cteDAflABi33p8A/gLSDOkQla+AlN jd9p9SeTAfWygRSPwu6tTHdZV8ZKYqLiT1XMtwjd4oW8TcNkH4W1739127hhhqyDBemH 3ztbjByENFF/bIddYMEP88688b+1natTrH3NBNplXMrgNY+mlEQ3pzxypjsILdPcTgx7 68hNcRI0e19ZH33BOX48y1M5GI5/8bnB68/dAxItlg1+PP9p6cfe6y3dCJuNs4mS03yK 1wDnYljhPO2eMUSHvVuQ8asGH4JolBlvhKO5fi6RDU5n5G/HVuJVClPYowalXpUjxRJa RO0Q== X-Gm-Message-State: ACrzQf2pzFJl4y2ICY5k1xbR5at/X/T3ESaXu30CC+90G9yYl7ByK3fV vYxVrVdxDOxwjCvBt1BA96Z4Xw== X-Google-Smtp-Source: AMsMyM6mD04sAELteU0TWr9kHxrv4/RxZ0x9Aa9JmEsQm4dax7cS9gPdKO4uMAiUpnBIKOdF6j9dTg== X-Received: by 2002:a05:600c:6544:b0:3cf:35c8:289f with SMTP id dn4-20020a05600c654400b003cf35c8289fmr571807wmb.153.1667808116215; Mon, 07 Nov 2022 00:01:56 -0800 (PST) Received: from fomalhaut.localnet ([2a01:e0a:8d5:d990:e654:e8ff:fe8f:2ce6]) by smtp.gmail.com with ESMTPSA id v11-20020a05600c12cb00b003cf75f56105sm8169172wmd.41.2022.11.07.00.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 00:01:55 -0800 (PST) From: Eric Botcazou X-Google-Original-From: Eric Botcazou To: Richard Purdie Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH 1/2] gcc/file-prefix-map: Allow remapping of relative paths Date: Mon, 07 Nov 2022 09:01:54 +0100 Message-ID: <5618710.DvuYhMxLoT@fomalhaut> In-Reply-To: <31e522bea27d3439918ceca9b6eff01f6f2812b7.camel@linuxfoundation.org> References: <20220817121534.1825108-1-richard.purdie@linuxfoundation.org> <2853801.e9J7NaK4W3@fomalhaut> <31e522bea27d3439918ceca9b6eff01f6f2812b7.camel@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: > 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 Botcazou