aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/c-lex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 0054448..997e9a0 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -1610,6 +1610,8 @@ yylex ()
{
TREE_TYPE (yylval.ttype) = unsigned_type (type);
yylval.ttype = convert (type, yylval.ttype);
+ TREE_OVERFLOW (yylval.ttype)
+ = TREE_CONSTANT_OVERFLOW (yylval.ttype) = 0;
}
else
TREE_TYPE (yylval.ttype) = type;