2015-09-10 Paul Thomas <pault@gcc.gnu.org>
commit8cff2296abb8f15ab9f417783360444d6361da09
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Sep 2015 15:22:20 +0000 (10 15:22 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Sep 2015 15:22:20 +0000 (10 15:22 +0000)
treecbbed0ba7f05f01338b8fe7595098c5464e234d8
parent6463d309ff8b6bfe1b94be47b95373ad4c4739f5
2015-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/66993
* module.c (read_module): If a symtree exists and the symbol has
been associated in a submodule from a parent (sub)module, attach
the symbol to a 'unique symtree' and the new symbol to the
existing symtree.

2015-09-10  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/66993
* gfortran.dg/submodule_11.f08: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227648 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/submodule_11.f08 [new file with mode: 0644]