https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87127
--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Wed Apr 24 07:27:42 2019 New Revision: 270532 URL: https://gcc.gnu.org/viewcvs?rev=270532&root=gcc&view=rev Log: 2019-04-24 Paul Thomas <pa...@gcc.gnu.org> PR fortran/87127 * resolve.c (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. 2019-04-24 Paul Thomas <pa...@gcc.gnu.org> PR fortran/87127 * gfortran.dg/external_procedures_4.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/external_procedures_4.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/resolve.c branches/gcc-8-branch/gcc/testsuite/ChangeLog