re PR fortran/86116 (Ambiguous generic interface not recognised)
authorJanus Weil <janus@gcc.gnu.org>
Tue, 14 Aug 2018 19:09:33 +0000 (21:09 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 14 Aug 2018 19:09:33 +0000 (21:09 +0200)
commit0ce0e6e865f65b34fd20e8ae912ff7307fb5b832
tree76d5839764fbc72cc9f635108cb2a2286d7b135e
parentb8b5398cbdf99f6c977a6a1749628538ba436a0b
re PR fortran/86116 (Ambiguous generic interface not recognised)

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.

From-SVN: r263540
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/generic_34.f90 [new file with mode: 0644]