-
- Downloads
re PR fortran/34665 (Cannot pass scalar to array argument 'a')
2008-01-13 Tobias Burnus <burnus@net-b.de> PR fortran/34665 * resolve.c (resolve_actual_arglist): For expressions, also check for assume-sized arrays. * interface.c (compare_parameter): Move F2003 character checks here, print error messages here, reject elements of assumed-shape array as argument to dummy arrays. (compare_actual_formal): Update for the changes above. 2008-01-13 Tobias Burnus <burnus@net-b.de> PR fortran/34665 * gfortran.dg/argument_checking_11.f90: New. * gfortran.dg/argument_checking_12.f90: New. * gfortran.dg/used_dummy_types_4.f90: Update dg-error. * gfortran.dg/c_assoc_2.f03: Update dg-error. * gfortran.dg/argument_checking_3.f90: Ditto. * gfortran.dg/pointer_intent_2.f90: Ditto. * gfortran.dg/import2.f90: Ditto. * gfortran.dg/assumed_shape_ranks_1.f90: Ditto. * gfortran.dg/implicit_actual.f90: Ditto. * gfortran.dg/used_dummy_types_3.f90: Ditto. * gfortran.dg/derived_comp_array_ref_6.f90: Ditto. From-SVN: r131513
Showing
- gcc/fortran/ChangeLog 10 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/interface.c 95 additions, 51 deletionsgcc/fortran/interface.c
- gcc/fortran/resolve.c 9 additions, 0 deletionsgcc/fortran/resolve.c
- gcc/testsuite/ChangeLog 15 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/argument_checking_11.f90 285 additions, 0 deletionsgcc/testsuite/gfortran.dg/argument_checking_11.f90
- gcc/testsuite/gfortran.dg/argument_checking_12.f90 59 additions, 0 deletionsgcc/testsuite/gfortran.dg/argument_checking_12.f90
- gcc/testsuite/gfortran.dg/argument_checking_3.f90 3 additions, 3 deletionsgcc/testsuite/gfortran.dg/argument_checking_3.f90
- gcc/testsuite/gfortran.dg/assumed_shape_ranks_1.f90 2 additions, 2 deletionsgcc/testsuite/gfortran.dg/assumed_shape_ranks_1.f90
- gcc/testsuite/gfortran.dg/c_assoc_2.f03 1 addition, 1 deletiongcc/testsuite/gfortran.dg/c_assoc_2.f03
- gcc/testsuite/gfortran.dg/derived_comp_array_ref_6.f90 1 addition, 1 deletiongcc/testsuite/gfortran.dg/derived_comp_array_ref_6.f90
- gcc/testsuite/gfortran.dg/implicit_actual.f90 1 addition, 1 deletiongcc/testsuite/gfortran.dg/implicit_actual.f90
- gcc/testsuite/gfortran.dg/import2.f90 2 additions, 2 deletionsgcc/testsuite/gfortran.dg/import2.f90
- gcc/testsuite/gfortran.dg/pointer_intent_2.f90 1 addition, 1 deletiongcc/testsuite/gfortran.dg/pointer_intent_2.f90
- gcc/testsuite/gfortran.dg/used_dummy_types_3.f90 1 addition, 1 deletiongcc/testsuite/gfortran.dg/used_dummy_types_3.f90
- gcc/testsuite/gfortran.dg/used_dummy_types_4.f90 1 addition, 1 deletiongcc/testsuite/gfortran.dg/used_dummy_types_4.f90
Loading
Please register or sign in to comment