https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87127
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:5889c7bd46a45dc07ffb77ec0d698e18e0b99840 commit r13-6758-g5889c7bd46a45dc07ffb77ec0d698e18e0b99840 Author: Paul Thomas <pa...@gcc.gnu.org> Date: Mon Mar 20 06:13:54 2023 +0000 Fortran: Allow external function from in an associate block [PR87127] 2023-03-20 Paul Thomas <pa...@gcc.gnu.org> 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.