This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]