aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/maxloc1_4_i16.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2008-01-13 22:35:33 +0100
committerTobias Burnus <burnus@gcc.gnu.org>2008-01-13 22:35:33 +0100
commit5ad6345e92e2e6f191b943cf7cba49bb5d90ec27 (patch)
tree99e3aac4649951ef115b9fe3fb115ab5d90a0f83 /libgfortran/generated/maxloc1_4_i16.c
parent083de129c8dd26ae3dcd5f24c77a3f424763e69f (diff)
downloadgcc-5ad6345e92e2e6f191b943cf7cba49bb5d90ec27.zip
gcc-5ad6345e92e2e6f191b943cf7cba49bb5d90ec27.tar.gz
gcc-5ad6345e92e2e6f191b943cf7cba49bb5d90ec27.tar.bz2
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
Diffstat (limited to 'libgfortran/generated/maxloc1_4_i16.c')
0 files changed, 0 insertions, 0 deletions