This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR78108 Generic type-bound operator conflicts
- From: Andre Vehreschild <vehre at gmx dot de>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Damian Rouson <damian at sourceryinstitute dot org>
- Date: Wed, 26 Oct 2016 13:57:36 +0200
- Subject: Re: [Patch, fortran] PR78108 Generic type-bound operator conflicts
- Authentication-results: sourceware.org; auth=none
- References: <CAGkQGiJSNwwoedBCdW9uLo-6HP31tufhTrjBn1FtNd8LrWr58Q@mail.gmail.com>
Hi Paul,
looks ok to me. At least I couldn't break it with the most devious codes I
could fathom.
Ok for trunk and if applicable to gcc-6.
- Andre
On Wed, 26 Oct 2016 13:28:15 +0200
Paul Richard Thomas <paul.richard.thomas@gmail.com> wrote:
> Dear All,
>
> The comment in the patch more than adequately describes how this patch
> works. The first testcase checks that correctly functioning code is
> produced, when the spurious error is suppressed, and the second checks
> that genuine errors are caught.
>
> Bootstraps and regtests on FC21/x86_64 - OK for trunk and, in a week
> or so time, 6-branch?
>
> I intend to commit as 'obvious' at 17:00 CET today if there are no objections.
>
> Best regards
>
> Paul
>
> 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.
--
Andre Vehreschild * Email: vehre ad gmx dot de