diff options
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r-- | gcc/cppmain.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c index 5239f8d..8be2a1d 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -68,7 +68,8 @@ main (argc, argv) print = cpp_printer_init (pfile, &parse_out); if (! print) return (FATAL_EXIT_CODE); - pfile->printer = print; + if (! CPP_OPTION (pfile, no_output)) + pfile->printer = print; if (! cpp_start_read (pfile, print, CPP_OPTION (pfile, in_fname))) return (FATAL_EXIT_CODE); |