Commit 5a9085c7 by Richard Stallman

(yylex): Integer constant is unsigned for purposes of

int_fits_type_p so that it compares huge constants properly.

From-SVN: r2127
parent dcffa15b
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment