------- Comment #18 from fxcoudert at gcc dot gnu dot org 2006-06-03 16:07 ------- Subject: Bug 19777
Author: fxcoudert Date: Sat Jun 3 16:06:51 2006 New Revision: 114342 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114342 Log: PR fortran/19777 * trans-array.c (gfc_conv_array_ref): Don't perform out-of-bounds checking for assumed-size arrrays. * gfortran.dg/bounds_check_2.f: New test. PR fortran/27524 * trans-array.c (gfc_trans_dummy_array_bias): Don't use stride as a temporary variable when -fbounds-check is enabled, since its value will be needed later. * gfortran.dg/bounds_check_1.f90: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/bounds_check_1.f90 - copied unchanged from r114142, trunk/gcc/testsuite/gfortran.dg/bounds_check_1.f90 branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/bounds_check_2.f - copied unchanged from r114153, trunk/gcc/testsuite/gfortran.dg/bounds_check_2.f Modified: branches/gcc-4_1-branch/gcc/fortran/ChangeLog branches/gcc-4_1-branch/gcc/fortran/trans-array.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19777