re PR fortran/35831 ([F95] Shape mismatch check missing for dummy procedure argument)
commit9795c59419d1802b7332bdd766750da46741a440
authorJanus Weil <janus@gcc.gnu.org>
Sun, 11 Sep 2011 20:12:24 +0000 (11 22:12 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sun, 11 Sep 2011 20:12:24 +0000 (11 22:12 +0200)
tree8ef05aa37e1c9b903e8521f91a239a1c29bb4eb3
parent7e169899559dd04cbde3bf6e0599720e6918a461
re PR fortran/35831 ([F95] Shape mismatch check missing for dummy procedure argument)

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.

From-SVN: r178767
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