2016-10-26 Paul Thomas <pault@gcc.gnu.org>
commited09e1d535012e382aa263bf90f1c4f34e731d31
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Oct 2016 14:48:02 +0000 (26 14:48 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Oct 2016 14:48:02 +0000 (26 14:48 +0000)
tree5e5e9659a8da5c68bbeb2621896a64a1aa0f6446
parent290f9552ba575ee62f33679a14989dd8ab36d2fa
2016-10-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78108
* resolve.c (resolve_typebound_intrinsic_op): For submodules
suppress the error and return if the same procedure symbol
is added more than once to the interface.

2016-10-26  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78108
* gfortran.dg/submodule_18.f08: New test.
* gfortran.dg/submodule_19.f08: New test.

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