]> gcc.gnu.org Git - gcc.git/commit - gcc/fortran/interface.c
re PR fortran/47710 ([OOP] Improve ambiguity check for GENERIC TBP w/ PASS and NOPASS)
authorJanus Weil <janus@gcc.gnu.org>
Fri, 22 Jun 2012 21:05:51 +0000 (23:05 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Fri, 22 Jun 2012 21:05:51 +0000 (23:05 +0200)
commit6f3ab30d8b7bfa0ab2e5a370f1196602960c271c
tree39c3ebe36c82e2ea4b612953d5ff90a3518c0b65
parent42533d77ac86ef73fe89ec5daf9c5d7fbb59cf55
re PR fortran/47710 ([OOP] Improve ambiguity check for GENERIC TBP w/ PASS and NOPASS)

2012-06-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47710
PR fortran/53328
* interface.c (count_types_test, generic_correspondence,
gfc_compare_interfaces): Ignore PASS arguments.
(check_interface1, compare_parameter): Pass NULL arguments to
gfc_compare_interfaces.
* gfortran.h (gfc_compare_interfaces): Modified prototype.
* expr.c (gfc_check_pointer_assign): Pass NULL arguments to
gfc_compare_interfaces.
* resolve.c (resolve_structure_cons): Ditto.
(check_generic_tbp_ambiguity): Determine PASS arguments and pass them
to gfc_compare_interfaces.

2012-06-22  Janus Weil  <janus@gcc.gnu.org>

PR fortran/47710
PR fortran/53328
* gfortran.dg/typebound_generic_12.f03: New.
* gfortran.dg/typebound_generic_13.f03: New.

From-SVN: r188902
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_generic_12.f03 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/typebound_generic_13.f03 [new file with mode: 0644]
This page took 0.066305 seconds and 5 git commands to generate.