From 5a9085c7dc59f3118e0c9f44b3fe9e771fbde055 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 15 Sep 1992 21:37:46 +0000 Subject: [PATCH] (yylex): Integer constant is unsigned for purposes of int_fits_type_p so that it compares huge constants properly. From-SVN: r2127 --- gcc/c-lex.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 0546150..e983773 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -1512,6 +1512,7 @@ yylex () } yylval.ttype = build_int_2 (low, high); + TREE_TYPE (yylval.ttype) = long_long_unsigned_type_node; /* If warn_traditional, calculate both the ANSI type and the traditional type, then see if they disagree. -- 2.7.4