re PR fortran/80554 ([f08] variable redefinition in submodule)
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 16 May 2017 20:09:02 +0000 (20:09 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 16 May 2017 20:09:02 +0000 (20:09 +0000)
commitbedee914ca77688f4c2d9138216b3a3b84fbb619
tree54fdb50929f1ca700c25969ca92f586ec22061bb
parent10791753c191d1f9d886e8977ff331b28d48398d
re PR fortran/80554 ([f08] variable redefinition in submodule)

2017-05-16  Paul Thomas  <pault@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-05-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/80554
* gfortran.dg/submodule_29.f08: New test.

From-SVN: r248129
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/submodule_29.f08 [new file with mode: 0644]