https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80554
--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Wed Nov 1 12:39:48 2017 New Revision: 254303 URL: https://gcc.gnu.org/viewcvs?rev=254303&root=gcc&view=rev Log: 2017-11-01 Paul Thomas <pa...@gcc.gnu.org> PR fortran/80554 * decl.c (build_sym): In a submodule allow overriding of host associated symbols from the ancestor module with a new declaration. 2017-11-01 Paul Thomas <pa...@gcc.gnu.org> PR fortran/80554 * gfortran.dg/submodule_29.f08: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/submodule_29.f08 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/decl.c branches/gcc-6-branch/gcc/testsuite/ChangeLog