commit e2fe821867bdc55a300f400fe8340a8d7168fb46 Author: Jason Merrill Date: Wed Oct 26 13:38:05 2011 -0400 interpret_int diff --git a/gcc/c-family/c-lex.c b/gcc/c-family/c-lex.c index 46c0340..baee8eb 100644 --- a/gcc/c-family/c-lex.c +++ b/gcc/c-family/c-lex.c @@ -44,7 +44,7 @@ static splay_tree file_info_tree; int pending_lang_change; /* If we need to switch languages - C++ only */ int c_header_level; /* depth in C headers - C++ only */ -static tree interpret_integer (const cpp_token *, unsigned int, const char *); +static tree interpret_integer (const cpp_token *, unsigned int); static tree interpret_float (const cpp_token *, unsigned int, const char *); static tree interpret_fixed (const cpp_token *, unsigned int); static enum integer_type_kind narrowest_unsigned_type @@ -329,7 +329,7 @@ c_lex_with_flags (tree *value, location_t *loc, unsigned char *cpp_flags, Set PURE_ZERO to pass this information to the C++ parser. */ if (tok->val.str.len == 1 && *tok->val.str.text == '0') add_flags = PURE_ZERO; - *value = interpret_integer (tok, flags, suffix); + *value = interpret_integer (tok, flags); break; case CPP_N_FLOATING: @@ -584,11 +584,9 @@ narrowest_signed_type (unsigned HOST_WIDE_INT low, return itk_none; } -/* Interpret TOKEN, an integer with FLAGS as classified by cpplib. - For C++0X SUFFIX may contain a user-defined literal suffix. */ +/* Interpret TOKEN, an integer with FLAGS as classified by cpplib. */ static tree -interpret_integer (const cpp_token *token, unsigned int flags, - const char *suffix) +interpret_integer (const cpp_token *token, unsigned int flags) { tree value, type; enum integer_type_kind itk;