https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77414
--- Comment #8 from kargl at gcc dot gnu.org --- Author: kargl Date: Mon Mar 19 18:54:29 2018 New Revision: 258654 URL: https://gcc.gnu.org/viewcvs?rev=258654&root=gcc&view=rev Log: 2018-03-19 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/77414 * decl.c (get_proc_name): Check for a subroutine re-defined in the contain portion of a subroutine. Change language of existing error message to better describe the issue. While here fix whitespace issues. 2018-03-19 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/77414 * gfortran.dg/pr77414.f90: New test. * gfortran.dg/internal_references_1.f90: Adjust error message. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr77414.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/decl.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gfortran.dg/internal_references_1.f90