-
- Downloads
re PR fortran/31538 (misleading bounds check error)
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. From-SVN: r158474
Showing
- gcc/fortran/ChangeLog 10 additions, 0 deletionsgcc/fortran/ChangeLog
- gcc/fortran/trans-array.c 22 additions, 9 deletionsgcc/fortran/trans-array.c
- gcc/fortran/trans.c 0 additions, 1 deletiongcc/fortran/trans.c
- gcc/fortran/trans.h 0 additions, 1 deletiongcc/fortran/trans.h
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/bounds_check_fail_3.f90 1 addition, 1 deletiongcc/testsuite/gfortran.dg/bounds_check_fail_3.f90
- gcc/testsuite/gfortran.dg/bounds_check_fail_4.f90 1 addition, 1 deletiongcc/testsuite/gfortran.dg/bounds_check_fail_4.f90
Loading
Please register or sign in to comment