aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-06-04 18:36:38 +0000
committerRichard Stallman <rms@gnu.org>1992-06-04 18:36:38 +0000
commit473a05b9508468012027dfe4323bb4afb959926e (patch)
treecd5eeb58cf8ba7190e85c55a332f30812ed9a744 /gcc
parent63a1f8345fa12c0eb561c926147a266723ef797a (diff)
downloadgcc-473a05b9508468012027dfe4323bb4afb959926e.zip
gcc-473a05b9508468012027dfe4323bb4afb959926e.tar.gz
gcc-473a05b9508468012027dfe4323bb4afb959926e.tar.bz2
entered into RCS
From-SVN: r1155
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 1344189..7aee512 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -1602,7 +1602,7 @@ yylex ()
}
#endif
- if (!int_fits_type_p (yylval.ttype, type))
+ if (!flag_traditional && !int_fits_type_p (yylval.ttype, type))
pedwarn ("integer constant out of range");
TREE_TYPE (yylval.ttype) = type;