re PR fortran/78108 (Generic type-bound operator conflicts)
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 26 Oct 2016 14:48:02 +0000 (14:48 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 26 Oct 2016 14:48:02 +0000 (14:48 +0000)
commitcd612e8a0124c51cd7bc3d18a1cba6c2d4e144c4
tree5e5e9659a8da5c68bbeb2621896a64a1aa0f6446
parentb4e7e6bf229664045926633aae90a287e39f6454
re PR fortran/78108 (Generic type-bound operator conflicts)

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.

From-SVN: r241555
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]