From: Jason Merrill Date: Sat, 15 Oct 1994 00:32:58 +0000 (+0000) Subject: (real_yylex): Use HOST_BITS_PER_WIDE_INT to determine the X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6a29b1f9dac32b18da43f58cd5a84745cbbf797;p=gcc.git (real_yylex): Use HOST_BITS_PER_WIDE_INT to determine the bitmask for lexing character constants. From-SVN: r8278 --- diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index deffa0429ec..44c78f0dba7 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -4198,12 +4198,12 @@ real_yylex () || ((result >> (num_bits - 1)) & 1) == 0) yylval.ttype = build_int_2 (result & ((unsigned HOST_WIDE_INT) ~0 - >> (HOST_BITS_PER_INT - num_bits)), + >> (HOST_BITS_PER_WIDE_INT - num_bits)), 0); else yylval.ttype = build_int_2 (result | ~((unsigned HOST_WIDE_INT) ~0 - >> (HOST_BITS_PER_INT - num_bits)), + >> (HOST_BITS_PER_WIDE_INT - num_bits)), -1); if (num_chars<=1) TREE_TYPE (yylval.ttype) = char_type_node;