https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60898
--- Comment #25 from Mikael Morin <mikael at gcc dot gnu.org> --- Author: mikael Date: Thu Mar 12 17:26:17 2015 New Revision: 221400 URL: https://gcc.gnu.org/viewcvs?rev=221400&root=gcc&view=rev Log: PR fortran/60898 fortran/ * resolve.c (resolve_symbol): Check that the symbol found by name lookup really is the current symbol being resolved. testsuite/ * gfortran.dg/entry_20.f90: New. Added: branches/gcc-4_8-branch/gcc/testsuite/gfortran.dg/entry_20.f90 Modified: branches/gcc-4_8-branch/gcc/fortran/ChangeLog branches/gcc-4_8-branch/gcc/fortran/resolve.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog