aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/arith.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2007-08-09 23:27:52 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2007-08-09 23:27:52 +0200
commitb49957dd09afec707bfa70a68eb32c6e976befc1 (patch)
treeac5b5ce1b10e42b8b4929f5a2e073b062b2be905 /gcc/fortran/arith.c
parentd7705934ec047cd09f8d6781749578963c2356ff (diff)
downloadgcc-b49957dd09afec707bfa70a68eb32c6e976befc1.zip
gcc-b49957dd09afec707bfa70a68eb32c6e976befc1.tar.gz
gcc-b49957dd09afec707bfa70a68eb32c6e976befc1.tar.bz2
re PR fortran/33001 (error with hexadecimal DATA)
2007-08-09 Tobias Burnus <burnus@net-b.de> PR fortran/33001 * arith.c (arith_error): Point in the error message to -fno-range-check. From-SVN: r127321
Diffstat (limited to 'gcc/fortran/arith.c')
-rw-r--r--gcc/fortran/arith.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fortran/arith.c b/gcc/fortran/arith.c
index 1f6fa32..f95f5e7 100644
--- a/gcc/fortran/arith.c
+++ b/gcc/fortran/arith.c
@@ -1981,7 +1981,8 @@ arith_error (arith rc, gfc_typespec *from, gfc_typespec *to, locus *where)
gfc_typename (from), gfc_typename (to), where);
break;
case ARITH_OVERFLOW:
- gfc_error ("Arithmetic overflow converting %s to %s at %L",
+ gfc_error ("Arithmetic overflow converting %s to %s at %L. This check "
+ "can be disabled with the option -fno-range-check",
gfc_typename (from), gfc_typename (to), where);
break;
case ARITH_UNDERFLOW: