aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmacro.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r--gcc/cppmacro.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c
index 17dfe15..403920c 100644
--- a/gcc/cppmacro.c
+++ b/gcc/cppmacro.c
@@ -1124,9 +1124,6 @@ warn_of_redefinition (pfile, node, macro2)
if (node->flags & NODE_WARN)
return 1;
- if (! CPP_PEDANTIC (pfile))
- return 0;
-
/* Redefinition of a macro is allowed if and only if the old and new
definitions are the same. (6.10.3 paragraph 2). */
macro1 = node->value.macro;