primary.c (match_integer_constant): Mention -fno-range-check in the error message.

2007-04-23  Tobias Burnus  <burnus@net-b.de>

        * primary.c (match_integer_constant): Mention -fno-range-check
        in the error message.

From-SVN: r124060
This commit is contained in:
Tobias Burnus 2007-04-23 10:37:19 +02:00 committed by Tobias Burnus
parent 11bac67c45
commit b2458f91cd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-04-23 Tobias Burnus <burnus@net-b.de>
* primary.c (match_integer_constant): Mention -fno-range-check
in the error message.
2007-04-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/31495

View File

@ -216,7 +216,8 @@ match_integer_constant (gfc_expr **result, int signflag)
if (gfc_range_check (e) != ARITH_OK)
{
gfc_error ("Integer too big for its kind at %C");
gfc_error ("Integer too big for its kind at %C. This check can be "
"disabled with the option -fno-range-check");
gfc_free_expr (e);
return MATCH_ERROR;