From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0F22A385E449; Fri, 1 Dec 2023 17:52:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F22A385E449 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701453123; bh=QeMZhJ1djEXeZ/GH39DRtZKd8xprA0XcFnCWZn//Y9k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gaJ5iNGZIs29a/zs/uhTqQujQww5M2MPOpSoq1UPYuUSs+aCac1ZzhtqCinl6nlvP vdZJ/MXfX3MIEGO5IHwLNjpesgZEAN/qSUXorRMfrSEMkqpm78Iw1Mu8cSvHrYhwXS auDQPYjNkbNH8nhYIyMm/14kfDbIHiAwE1g+VXAg= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/112764] Associating entity does not have target attribute if selector has pointer attribute in associate block Date: Fri, 01 Dec 2023 17:52:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: anlauf at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112764 --- Comment #11 from anlauf at gcc dot gnu.org --- (In reply to martin from comment #10) > Thanks for the speedy fix! I just thought about a variation, which should > now with the fix work as well (was not yet able to compile current dev > branch, so cannot check myself): >=20 >=20 > program assoc_ptr_in This compiles now and prints: 123=