This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r135306 - in /trunk/gcc: fortran/ChangeLog fort...
- From: fxcoudert at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 14 May 2008 21:20:11 -0000
- Subject: r135306 - in /trunk/gcc: fortran/ChangeLog fort...
Author: fxcoudert
Date: Wed May 14 21:20:10 2008
New Revision: 135306
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135306
Log:
PR fortran/35682
* trans-array.c (gfc_conv_ss_startstride): Any negative size is
the same as zero size.
(gfc_conv_loop_setup): Fix size calculation.
* gfortran.dg/bound_4.f90: New test.
* gfortran.dg/bounds_check_14.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/bound_4.f90
trunk/gcc/testsuite/gfortran.dg/bounds_check_14.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog