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
This commit is contained in:
Tobias Burnus 2007-08-09 23:27:52 +02:00 committed by Tobias Burnus
parent d7705934ec
commit b49957dd09
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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.
2007-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/32902

View File

@ -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: