diff options
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/expr.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index dae23216bb..9ec9484d6e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +1999-09-11 Donn Terry <donn@interix.com> + + * expr.c (integer_constant): Correct too_many_digits calculation + in base 10 case. + 1999-09-09 Andreas Schwab <schwab@suse.de> * doc/c-arm.texi: Fix arguments of @var to not contain diff --git a/gas/expr.c b/gas/expr.c index c50e2c2f33..fcc633fbd1 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; |