https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80554
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> --- Added by hand because I used the wrong file for the -F option on commit to 7-branch: Author: pault Date: Wed Nov 1 11:29:07 2017 New Revision: 254299 URL: https://gcc.gnu.org/viewcvs?rev=254299&root=gcc&view=rev Log: 2017-11-01 Paul Thomas <pa...@gcc.gnu.org> 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-7-branch/gcc/testsuite/gfortran.dg/submodule_29.f08 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/decl.c branches/gcc-7-branch/gcc/testsuite/ChangeLog