From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0676B3858409; Mon, 20 Mar 2023 06:14:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0676B3858409 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679292856; bh=n/DQDnMG9VAIRveZFIRaB1dfhfAM+UBkjmF2d/jaTLo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SnC6VZ6hi3VFNMUxOoqSw5PdLN29VXzK+TTstcUVEs+BuFxKEJNnWU8EnG3HEAg9k 96Ys54wxUQ36OJ3F3/cPvtWJ+qVVuuiiZ3xNc7lTI8GDCUHpb+VGQAWCsQgvFaH4La PM9fXLaBr59KnGS8ANPRPFbPQZAmodJtJW8o/eww= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/87127] External function not recognised from within an associate block Date: Mon, 20 Mar 2023 06:14:15 +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: 8.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D87127 --- Comment #10 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:5889c7bd46a45dc07ffb77ec0d698e18e0b99840 commit r13-6758-g5889c7bd46a45dc07ffb77ec0d698e18e0b99840 Author: Paul Thomas Date: Mon Mar 20 06:13:54 2023 +0000 Fortran: Allow external function from in an associate block [PR87127] 2023-03-20 Paul Thomas gcc/fortran PR fortran/87127 * resolve.cc (check_host_association): If an external function is typed but not declared explicitly to be external, change the old symbol from a variable to an external function. gcc/testsuite/ PR fortran/87127 * gfortran.dg/external_procedures_4.f90: New test.=