diff options
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r-- | gcc/cppmain.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c index 81fdac9..9e08bbe 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -168,8 +168,7 @@ setup_callbacks () if (CPP_OPTION (pfile, dump_includes)) pfile->cb.include = cb_include; - if (CPP_OPTION (pfile, debug_output) - || CPP_OPTION (pfile, dump_macros) == dump_names + if (CPP_OPTION (pfile, dump_macros) == dump_names || CPP_OPTION (pfile, dump_macros) == dump_definitions) { pfile->cb.define = cb_define; @@ -350,9 +349,8 @@ cb_define (pfile, node) maybe_print_line (cpp_get_line (pfile)->output_line); fprintf (print.outf, "#define %s", node->name); - /* -dD or -g3 command line options. */ - if (CPP_OPTION (pfile, debug_output) - || CPP_OPTION (pfile, dump_macros) == dump_definitions) + /* -dD command line option. */ + if (CPP_OPTION (pfile, dump_macros) == dump_definitions) fputs ((const char *) cpp_macro_definition (pfile, node), print.outf); putc ('\n', print.outf); |