diff options
author | Richard Stallman <rms@gnu.org> | 1992-10-21 06:54:16 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-10-21 06:54:16 +0000 |
commit | 2f6f882470d32cc42a74a2eae7b244f7b020d3e7 (patch) | |
tree | 1f4028824431d9c361fbd156159f1f6febb6d9f1 /gcc/cexp.y | |
parent | cfb2c0b17949ca448cae839982bf7f238404271b (diff) | |
download | gcc-2f6f882470d32cc42a74a2eae7b244f7b020d3e7.zip gcc-2f6f882470d32cc42a74a2eae7b244f7b020d3e7.tar.gz gcc-2f6f882470d32cc42a74a2eae7b244f7b020d3e7.tar.bz2 |
(integer_overflow): Do nothing unless pedantic.
From-SVN: r2538
Diffstat (limited to 'gcc/cexp.y')
-rw-r--r-- | gcc/cexp.y | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |