From ba85b2e482c6f63fc49b799701e5a8cc4a93f09f Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 16 Apr 1994 17:04:03 -0400 Subject: [PATCH] (yylex): Turn off overflow flag when fixing up large traditional hex constants. From-SVN: r7050 --- gcc/c-lex.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 0054448afda..997e9a0fcdc 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;