r135306 - in /trunk/gcc: fortran/ChangeLog fort...
fxcoudert@gcc.gnu.org
fxcoudert@gcc.gnu.org
Wed May 14 21:20:00 GMT 2008
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
More information about the Gcc-cvs
mailing list