entered into RCS
authorRichard Stallman <rms@gnu.org>
Thu, 4 Jun 1992 18:36:38 +0000 (18:36 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 4 Jun 1992 18:36:38 +0000 (18:36 +0000)
From-SVN: r1155

gcc/c-lex.c

index 13441894a9765720a37e77ea619be556d5aaecaf..7aee51231aaf87126311698b6b451a6c7db12808 100644 (file)
@@ -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;