https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97245

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:5340f48b7639fcc874f64aac214f9ef9ae43d43e

commit r14-5114-g5340f48b7639fcc874f64aac214f9ef9ae43d43e
Author: Harald Anlauf <anl...@gmx.de>
Date:   Fri Nov 3 19:41:54 2023 +0100

    Fortran: fix issue with multiple references of a procedure pointer
[PR97245]

    gcc/fortran/ChangeLog:

            PR fortran/97245
            * match.cc (gfc_match_call): If a procedure pointer has already
been
            resolved, do not create a new symbol in a procedure reference of
            the same name shadowing the first one if it is host-associated.

    gcc/testsuite/ChangeLog:

            PR fortran/97245
            * gfortran.dg/proc_ptr_53.f90: New test.

Reply via email to