From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by sourceware.org (Postfix) with ESMTPS id 587913858D28; Fri, 3 Nov 2023 21:02:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 587913858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=troutmask.apl.washington.edu Authentication-Results: sourceware.org; spf=none smtp.mailfrom=troutmask.apl.washington.edu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 587913858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=128.95.76.21 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699045343; cv=none; b=XS29727Rnjvszb4npsy9PeW+Sv+74C/n7PMC9zoB+MVmeAYdg1m6SthU8Nhr0oKTS0+4mKJDzYthtSuvgStqG9pbnZZPyOCV8+SWznAz40HL2WN5Evxgi5ADmknDTSgy2DuZnUcyuzTIiROSjUfDYLXddlgGNCg/nmblXOt+qCA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699045343; c=relaxed/simple; bh=j8IQi9QFOlq0qaL76FYf8EQtFA3eLGAx67kZDFBsFCE=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=nj9bc7BbIXNpHFnEhOBTt9BVdz3cSMJXuKONffcad437PUXPjfoNebiCNIgzmG7LFPy55RmPwct2vUdaLMhCrTXU6QzTM+ballYDdSZdUN4tbfOlsnTsOFtr0/slMQaf7zAiC74dQicfFch2CcDYogultSUvCeLbTab0pn9wDw0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.17.1/8.17.1) with ESMTP id 3A3L2LGq093871; Fri, 3 Nov 2023 14:02:21 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.17.1/8.17.1/Submit) id 3A3L2KvS093870; Fri, 3 Nov 2023 14:02:20 -0700 (PDT) (envelope-from sgk) Date: Fri, 3 Nov 2023 14:02:20 -0700 From: Steve Kargl To: Harald Anlauf Cc: fortran , gcc-patches Subject: Re: [PATCH] Fortran: fix issue with multiple references of a procedure pointer [PR97245] Message-ID: Reply-To: sgk@troutmask.apl.washington.edu References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, Nov 03, 2023 at 07:56:20PM +0100, Harald Anlauf wrote: > Dear all, > > this is a rather weird bug with a very simple fix. If a procedure pointer > is referenced in a CALL, a symbol was created shadowing the original > declaration if it was host-associated. Funnily, this affected only > references of the procedure pointer after the first CALL. > > Regtested on x86_64-pc-linux-gnu. OK for mainline? > > Would it be OK to backport this fix to 13-branch? > OK, and yes, you can backport if you want. -- Steve