aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-16 17:04:03 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-16 17:04:03 -0400
commitba85b2e482c6f63fc49b799701e5a8cc4a93f09f (patch)
tree035a24c3be9d6c7fa53d74a6a14858e03a38344f /gcc/c-lex.c
parent3d89634a512cb3176d7f3be022a365d73b0cf92e (diff)
downloadgcc-ba85b2e482c6f63fc49b799701e5a8cc4a93f09f.zip
gcc-ba85b2e482c6f63fc49b799701e5a8cc4a93f09f.tar.gz
gcc-ba85b2e482c6f63fc49b799701e5a8cc4a93f09f.tar.bz2
(yylex): Turn off overflow flag when fixing up large traditional hex
constants. From-SVN: r7050
Diffstat (limited to 'gcc/c-lex.c')
-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;