]> gcc.gnu.org Git - gcc.git/commitdiff
(integer_overflow): Do nothing unless pedantic.
authorRichard Stallman <rms@gnu.org>
Wed, 21 Oct 1992 06:54:16 +0000 (06:54 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 21 Oct 1992 06:54:16 +0000 (06:54 +0000)
From-SVN: r2538

gcc/cexp.y

index 9530a37c3ceaa3027b9dc17eca506ff88b87fbeb..0e48c0f629b1781c48ed2dd1d6f441b72bc83b55 100644 (file)
@@ -847,7 +847,8 @@ yyerror (s)
 static void
 integer_overflow ()
 {
-  pedwarn ("integer overflow in preprocessor expression");
+  if (pedantic)
+    pedwarn ("integer overflow in preprocessor expression");
 }
 
 static long
This page took 0.067459 seconds and 5 git commands to generate.