This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r115231 - in /trunk/gcc: fortran/ChangeLog fort...
- From: fxcoudert at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 06 Jul 2006 20:37:37 -0000
- Subject: r115231 - in /trunk/gcc: fortran/ChangeLog fort...
Author: fxcoudert
Date: Thu Jul 6 20:37:36 2006
New Revision: 115231
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115231
Log:
PR fortran/28129
* trans-array.c (gfc_trans_array_bound_check): Add a locus
argument, and use it in the error messages.
(gfc_conv_array_index_offset): Donc perform bounds checking on
the last dimension of assumed-size arrays.
* gfortran.dg/bounds_check_4.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/bounds_check_4.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog