This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/78108] Generic type-bound operator conflicts
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Oct 2016 16:14:21 +0000
- Subject: [Bug fortran/78108] Generic type-bound operator conflicts
- Auto-submitted: auto-generated
- References: <bug-78108-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78108
--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Wed Oct 26 16:13:49 2016
New Revision: 241575
URL: https://gcc.gnu.org/viewcvs?rev=241575&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/submodule_18.f08
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/submodule_19.f08
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/resolve.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog