aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmacro.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r--gcc/cppmacro.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c
index 8eb67e1..09cad20 100644
--- a/gcc/cppmacro.c
+++ b/gcc/cppmacro.c
@@ -669,16 +669,12 @@ enter_macro_context (pfile, node)
list.limit = macro->expansion + macro->count;
}
- /* Only push a macro context for non-empty replacement lists. */
- if (list.first != list.limit)
- {
- context = next_context (pfile);
- context->list = list;
- context->macro = macro;
+ context = next_context (pfile);
+ context->list = list;
+ context->macro = macro;
- /* Disable the macro within its expansion. */
- macro->disabled = 1;
- }
+ /* Disable the macro within its expansion. */
+ macro->disabled = 1;
return 1;
}