]> gcc.gnu.org Git - gcc.git/commitdiff
(yylex): Integer constant is unsigned for purposes of
authorRichard Stallman <rms@gnu.org>
Tue, 15 Sep 1992 21:37:46 +0000 (21:37 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 15 Sep 1992 21:37:46 +0000 (21:37 +0000)
int_fits_type_p so that it compares huge constants properly.

From-SVN: r2127

gcc/c-lex.c

index 054615015e70a52fd8e49c473124e1de6391b4ba..e98377317d4191d8a9d60e4c840d3bf1f10c75f4 100644 (file)
@@ -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.
This page took 0.079728 seconds and 5 git commands to generate.