2011-09-11 Janus Weil <janus@gcc.gnu.org>
commit0363f8b45f00c8893456900af19d82047a65a4cc
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Sep 2011 20:12:24 +0000 (11 20:12 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Sep 2011 20:12:24 +0000 (11 20:12 +0000)
tree8ef05aa37e1c9b903e8521f91a239a1c29bb4eb3
parentfd8d29149cec5e6988afb443a315300c3cf4a504
2011-09-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/35831
PR fortran/47978
* interface.c (check_dummy_characteristics): New function to check the
characteristics of dummy arguments.
(gfc_compare_interfaces,gfc_check_typebound_override): Call it here.

2011-09-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/35831
PR fortran/47978
* gfortran.dg/dynamic_dispatch_5.f03: Fix invalid test case.
* gfortran.dg/proc_decl_26.f90: New.
* gfortran.dg/typebound_override_2.f90: New.
* gfortran.dg/typebound_proc_6.f03: Changed wording in error message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178767 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dynamic_dispatch_5.f03
gcc/testsuite/gfortran.dg/proc_decl_26.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/typebound_override_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/typebound_proc_6.f03