https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89981
--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Sun Apr 14 11:26:18 2019 New Revision: 270350 URL: https://gcc.gnu.org/viewcvs?rev=270350&root=gcc&view=rev Log: 2019-04-14 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/89981 * resolve.c (resolve_global_procedure): If the global symbol is an ENTRY, also look up its name among the entries. 2019-04-14 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/89981 * gfortran.dg/entry_22.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/entry_22.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/resolve.c branches/gcc-8-branch/gcc/testsuite/ChangeLog