This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r128587 - in /trunk/gcc: fortran/ChangeLog fort...
- From: fxcoudert at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 18 Sep 2007 21:25:41 -0000
- Subject: r128587 - in /trunk/gcc: fortran/ChangeLog fort...
Author: fxcoudert
Date: Tue Sep 18 21:25:40 2007
New Revision: 128587
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128587
Log:
PR fortran/31119
* trans-array.c (gfc_conv_ss_startstride): Only perform bounds
checking for optional args when they are present.
* gfortran.dg/bounds_check_9.f90: New test.
* gfortran.dg/bounds_check_fail_2.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/bounds_check_9.f90
trunk/gcc/testsuite/gfortran.dg/bounds_check_fail_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog