projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcffa15
)
(yylex): Integer constant is unsigned for purposes of
author
Richard Stallman
<rms@gnu.org>
Tue, 15 Sep 1992 21:37:46 +0000
(21:37 +0000)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/gcc/c-lex.c
b/gcc/c-lex.c
index
0546150
..
e983773
100644
(file)
--- 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.