This is the mail archive of the gcc-bugs@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]

[Bug fortran/86116] [6/7/8/9 Regression] Ambiguous generic interface not recognised


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86116

--- Comment #4 from janus at gcc dot gnu.org ---
Author: janus
Date: Tue Aug 14 19:09:33 2018
New Revision: 263540

URL: https://gcc.gnu.org/viewcvs?rev=263540&root=gcc&view=rev
Log:
2018-08-14  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-14  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/86116
        * gfortran.dg/generic_34.f90: New test case.

Added:
    trunk/gcc/testsuite/gfortran.dg/generic_34.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/interface.c
    trunk/gcc/testsuite/ChangeLog

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