------- Comment #13 from kargl at gcc dot gnu dot org 2010-04-17 22:22 ------- Subject: Bug 31538
Author: kargl Date: Sat Apr 17 22:22:02 2010 New Revision: 158476 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158476 Log: 2010-04-17 Steven G. Kargl <ka...@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 <ka...@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. Modified: branches/gcc-4_5-branch/gcc/fortran/ChangeLog branches/gcc-4_5-branch/gcc/fortran/trans-array.c branches/gcc-4_5-branch/gcc/fortran/trans.c branches/gcc-4_5-branch/gcc/fortran/trans.h branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/bounds_check_fail_3.f90 branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/bounds_check_fail_4.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31538