------- Comment #5 from tkoenig at gcc dot gnu dot org 2006-03-04 22:21 ------- Subject: Bug 25075
Author: tkoenig Date: Sat Mar 4 22:21:52 2006 New Revision: 111718 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111718 Log: 2006-03-04 Thomas Koenig <[EMAIL PROTECTED]> PR fortran/25045 PR fortran/25075 backport from mainline * check.c (dim_check): Perform all checks if dim is optional. (gfc_check_minloc_maxloc): Use dim_check and dim_rank_check to check dim argument. (check_reduction): Likewise. check.c (identical_dimen_shape): New function. (check_dot_product): Use identical_dimen_shape() to check sizes for dot_product. (gfc_check_matmul): Likewise. (gfc_check_merge): Check conformance between tsource and fsource and between tsource and mask. (gfc_check_pack): Check conformance between array and mask. 2006-03-04 Thomas Koenig <[EMAIL PROTECTED]> PR fortran/25045 PR fortran/25075 backport from mainline * optional_dim.f90: New test. * intrinsic_argument_conformance_1.f90: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/intrinsic_argument_conformance_1.f90 branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/optional_dim.f90 Modified: branches/gcc-4_1-branch/gcc/fortran/ChangeLog branches/gcc-4_1-branch/gcc/fortran/check.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25075