From fa16d38700e5fbbeb00dbdbad7567366e97e154f Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 11 Sep 1999 14:24:59 +0000 Subject: [PATCH] 1999-09-11 Donn Terry * expr.c (integer_constant): Correct too_many_digits calculation in base 10 case. --- gas/ChangeLog | 5 +++++ gas/expr.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index dae23216bb1..9ec9484d6e3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +1999-09-11 Donn Terry + + * expr.c (integer_constant): Correct too_many_digits calculation + in base 10 case. + 1999-09-09 Andreas Schwab * doc/c-arm.texi: Fix arguments of @var to not contain diff --git a/gas/expr.c b/gas/expr.c index c50e2c2f33d..fcc633fbd17 100644 --- a/gas/expr.c +++ b/gas/expr.c @@ -389,7 +389,7 @@ integer_constant (radix, expressionP) break; case 10: maxdig = radix = 10; - too_many_digits = (valuesize + 12) / 4; /* very rough */ + too_many_digits = (valuesize + 11) / 4; /* very rough */ } #undef valuesize start = input_line_pointer; -- 2.30.2