OSDN Git Service

PR fortran/19777
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 May 2006 19:21:27 +0000 (19:21 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 May 2006 19:21:27 +0000 (19:21 +0000)
commit81ad3bc785c8a6366481340a21b5305e0bad6939
tree72679f07b58b86bfa69a3e753279e179052931f9
parent918c1f3d05b1f1631ab98c48e48f6935c38117dc
PR fortran/19777

* trans-array.c (gfc_conv_array_ref): Perform out-of-bounds
checking for assumed-size arrrays for all but the last dimension.

* gfortran.dg/bounds_check_2.f: Add new check for multidimensional
arrays.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114210 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/bounds_check_2.f