projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfb2c0b
)
(integer_overflow): Do nothing unless pedantic.
author
Richard Stallman
<rms@gnu.org>
Wed, 21 Oct 1992 06:54:16 +0000
(06:54 +0000)
committer
Richard Stallman
<rms@gnu.org>
Wed, 21 Oct 1992 06:54:16 +0000
(06:54 +0000)
From-SVN: r2538
gcc/cexp.y
patch
|
blob
|
history
diff --git
a/gcc/cexp.y
b/gcc/cexp.y
index
9530a37
..
0e48c0f
100644
(file)
--- a/
gcc/cexp.y
+++ b/
gcc/cexp.y
@@
-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