This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/86116] [6/7/8/9 Regression] Ambiguous generic interface not recognised
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Aug 2018 19:10:05 +0000
- Subject: [Bug fortran/86116] [6/7/8/9 Regression] Ambiguous generic interface not recognised
- Auto-submitted: auto-generated
- References: <bug-86116-4@http.gcc.gnu.org/bugzilla/>
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