2010-04-17 Steven G. Kargl <kargl@gcc.gnu.org>
commitf10ca8ea5d9cb6a4dad0b1c64806be1baf3a5c5f
authorkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Apr 2010 21:05:53 +0000 (17 21:05 +0000)
committerkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 17 Apr 2010 21:05:53 +0000 (17 21:05 +0000)
tree845fbf8203fda73412490384debb7ae85d57924a
parent205a2b6815e1c83fa82463b8419a743dfab454f6
2010-04-17  Steven G. Kargl  <kargl@gcc.gnu.org>

   PR fortran/31538
   * gfortran.dg/bounds_check_fail_4.f90: Adjust error message.
   * gfortran.dg/bounds_check_fail_3.f90: Ditto.

2010-04-17  Steven G. Kargl  <kargl@gcc.gnu.org>

   PR fortran/31538
   * fortran/trans-array.c (gfc_conv_ss_startstride): Remove the use of
   gfc_msg_bounds by using 'Array bound mismatch' directly.
   (gfc_trans_dummy_array_bias):  Remove the use of gfc_msg_bounds.  Reword
   error message to include the mismatch in the extent of array bound.
   * fortran/trans.c: Remove gfc_msg_bounds.  It is only used in one place.
   * fortran/trans.h: Remove extern definition of gfc_msg_bounds.

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