This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] PR 86116: Ambiguous generic interface not recognised


Looks OK to me.

On Tue, Aug 14, 2018 at 4:12 AM Janus Weil <janus@gcc.gnu.org> wrote:
>
> ping!
>
>
> Am So., 5. Aug. 2018 um 15:23 Uhr schrieb Janus Weil <janus@gcc.gnu.org>:
> >
> > Hi all,
> >
> > the attached patch fixes PR 86116 by splitting up the function
> > 'compare_type' into two variants: One that is used for checking
> > generic interfaces and operators (keeping the old name), and one that
> > is used for checking dummy functions and procedure pointer assignments
> > ('compare_type_characteristics'). The latter calls the former, but
> > includes an additional check that must not be done when checking
> > generics.
> >
> > Regtests cleanly on x86_64-linux-gnu. Ok for trunk?
> >
> > Cheers,
> > Janus
> >
> >
> > 2018-08-05  Janus Weil  <janus@gcc.gnu.org>
> >
> >     PR fortran/86116
> >     * interface.c (compare_type): Remove a CLASS/TYPE check.
> >     (compare_type_characteristics): New function that behaves like the old
> >     'compare_type'.
> >     (gfc_check_dummy_characteristics, gfc_check_result_characteristics):
> >     Call 'compare_type_characteristics' instead of 'compare_type'.
> >
> > 2018-08-05  Janus Weil  <janus@gcc.gnu.org>
> >
> >     PR fortran/86116
> >     * gfortran.dg/generic_34.f90: New test case.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]