re PR fortran/35831 ([F95] Shape mismatch check missing for dummy procedure argument)
authorJanus Weil <janus@gcc.gnu.org>
Mon, 6 Aug 2012 20:36:16 +0000 (22:36 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Mon, 6 Aug 2012 20:36:16 +0000 (22:36 +0200)
commitedc802c796309ed06d4818ad8a7c8b851a52b9ea
tree8658c7628f535030283500ec0a189291df6cb6af
parentef859c9d3c608c89c9192725ee0100ec45a3d708
re PR fortran/35831 ([F95] Shape mismatch check missing for dummy procedure argument)

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

PR fortran/35831
* interface.c (check_result_characteristics): New function, which checks
the characteristics of function results.
(gfc_compare_interfaces,gfc_check_typebound_override): Call it.

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

PR fortran/35831
* gfortran.dg/dummy_procedure_5.f90: Modified.
* gfortran.dg/dummy_procedure_8.f90: New.
* gfortran.dg/interface_26.f90: Modified.
* gfortran.dg/proc_ptr_11.f90: Modified.
* gfortran.dg/proc_ptr_15.f90: Modified.
* gfortran.dg/proc_ptr_result_5.f90: Modified.
* gfortran.dg/typebound_override_1.f90: Modified.
* gfortran.dg/typebound_proc_6.f03: Modified.

From-SVN: r190187
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dummy_procedure_5.f90
gcc/testsuite/gfortran.dg/dummy_procedure_8.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/interface_26.f90
gcc/testsuite/gfortran.dg/proc_ptr_11.f90
gcc/testsuite/gfortran.dg/proc_ptr_15.f90
gcc/testsuite/gfortran.dg/proc_ptr_result_5.f90
gcc/testsuite/gfortran.dg/typebound_override_1.f90
gcc/testsuite/gfortran.dg/typebound_proc_6.f03