1999-09-11 Donn Terry <donn@interix.com>

* expr.c (integer_constant): Correct too_many_digits calculation
	in base 10 case.
This commit is contained in:
Ian Lance Taylor 1999-09-11 14:24:59 +00:00
parent 7b50b349e2
commit fa16d38700
2 changed files with 6 additions and 1 deletions

View File

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

View File

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