diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-11 14:24:59 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-11 14:24:59 +0000 |
commit | fa16d38700e5fbbeb00dbdbad7567366e97e154f (patch) | |
tree | 44c5a25afb766d7ef72a43864677c96f148d8c5e | |
parent | 7b50b349e217f7c560ea8dac8aa67655a7d0e8d3 (diff) | |
download | gdb-fa16d38700e5fbbeb00dbdbad7567366e97e154f.zip gdb-fa16d38700e5fbbeb00dbdbad7567366e97e154f.tar.gz gdb-fa16d38700e5fbbeb00dbdbad7567366e97e154f.tar.bz2 |
1999-09-11 Donn Terry <donn@interix.com>
* expr.c (integer_constant): Correct too_many_digits calculation
in base 10 case.
-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 dae2321..9ec9484 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 @@ -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; |