>> With those changes, I am fine with the patch. > > Thanks. I will commit the attached version after another regtest - > unless there are further complaints in the meantime.
Committed as r190187 with some minor adjustments. Cheers, Janus >>> 2012-08-05 Janus Weil <ja...@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-05 Janus Weil <ja...@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.