aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans.c
diff options
context:
space:
mode:
authorSteven G. Kargl <kargl@gcc.gnu.org>2010-04-17 21:05:53 +0000
committerSteven G. Kargl <kargl@gcc.gnu.org>2010-04-17 21:05:53 +0000
commit6c559604a805d701d36659678a91dd3934c72f54 (patch)
tree845fbf8203fda73412490384debb7ae85d57924a /gcc/fortran/trans.c
parent0e9496ccb9ac4082a7f80c4e568d48b92cbb2094 (diff)
downloadgcc-6c559604a805d701d36659678a91dd3934c72f54.zip
gcc-6c559604a805d701d36659678a91dd3934c72f54.tar.gz
gcc-6c559604a805d701d36659678a91dd3934c72f54.tar.bz2
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
Diffstat (limited to 'gcc/fortran/trans.c')
-rw-r--r--gcc/fortran/trans.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/fortran/trans.c b/gcc/fortran/trans.c
index c1993f9..21c5604 100644
--- a/gcc/fortran/trans.c
+++ b/gcc/fortran/trans.c
@@ -47,7 +47,6 @@ along with GCC; see the file COPYING3. If not see
static gfc_file *gfc_current_backend_file;
-const char gfc_msg_bounds[] = N_("Array bound mismatch");
const char gfc_msg_fault[] = N_("Array reference out of bounds");
const char gfc_msg_wrong_return[] = N_("Incorrect function return value");