Re: RFA: Remove some code from c-lex.c:interpret_integer

2013-10-27 Thread Joseph S. Myers
On Sun, 27 Oct 2013, Richard Sandiford wrote: > Tested on powerpc64-linux-gnu and x86_64-linux-gnu. OK to install? > Or, if the code is still needed, is there a testcase we could add? OK. I agree that sign-extension makes no sense here (integer constants are always nonnegative). -- Joseph S.

RFA: Remove some code from c-lex.c:interpret_integer

2013-10-27 Thread Richard Sandiford
interpret_integer has: integer = cpp_interpret_integer (parse_in, token, flags); integer = cpp_num_sign_extend (integer, options->precision); if (integer.overflow) *overflow = OT_OVERFLOW; where options->precision is the precision of (u)intmax_t. Looking at the implementation of cpp_nu