aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-sra.c
diff options
context:
space:
mode:
authorJanus Weil <janus@gcc.gnu.org>2009-06-16 11:06:13 +0200
committerJanus Weil <janus@gcc.gnu.org>2009-06-16 11:06:13 +0200
commit8ad15a0a8d0666e21f4217d8ba004b33bcaf383d (patch)
tree68f16e73b7e9ee77f41c0bfa780dcfa5036ca069 /gcc/tree-sra.c
parent7c5222ff1a2283b0f8c889da777c7dae5d4224ba (diff)
downloadgcc-8ad15a0a8d0666e21f4217d8ba004b33bcaf383d.zip
gcc-8ad15a0a8d0666e21f4217d8ba004b33bcaf383d.tar.gz
gcc-8ad15a0a8d0666e21f4217d8ba004b33bcaf383d.tar.bz2
re PR fortran/36947 (Attributes not fully checked comparing actual vs dummy procedure)
2009-06-16 Janus Weil <janus@gcc.gnu.org> PR fortran/36947 PR fortran/40039 * expr.c (gfc_check_pointer_assign): Call 'gfc_compare_interfaces' with error message. * gfortran.h (gfc_compare_interfaces): Additional argument. * interface.c (operator_correspondence): Removed. (gfc_compare_interfaces): Additional argument to return error message. Directly use the code from 'operator_correspondence' instead of calling the function. Check for OPTIONAL. Some rearrangements. (check_interface1): Call 'gfc_compare_interfaces' without error message. (compare_parameter): Call 'gfc_compare_interfaces' with error message. * resolve.c (check_generic_tbp_ambiguity): Call 'gfc_compare_interfaces' without error message. 2009-06-16 Janus Weil <janus@gcc.gnu.org> PR fortran/36947 PR fortran/40039 * gfortran.dg/dummy_procedure_1.f90: Extended test case. * gfortran.dg/interface_20.f90: Modified error messages. * gfortran.dg/interface_21.f90: Ditto. * gfortran.dg/interface_26.f90: Ditto. * gfortran.dg/interface_27.f90: Ditto. * gfortran.dg/interface_28.f90: Extended test case. * gfortran.dg/interface_29.f90: New. * gfortran.dg/proc_decl_7.f90: Modified error messages. * gfortran.dg/proc_decl_8.f90: Ditto. * gfortran.dg/proc_ptr_11.f90: Ditto. * gfortran.dg/proc_ptr_15.f90: Ditto. From-SVN: r148519
Diffstat (limited to 'gcc/tree-sra.c')
0 files changed, 0 insertions, 0 deletions