diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-29 14:40:45 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-29 14:40:45 +0000 |
commit | 32713c6adc863840a8c30eac0a2959cfae72358f (patch) | |
tree | 1d1e3b28b0edb3a1bf0166c1b548080361cf1fed /gcc/cppinit.c | |
parent | 6436c9b1e11e9b6ea6337b169cbaff7b00c01cdd (diff) | |
download | gcc-32713c6adc863840a8c30eac0a2959cfae72358f.tar.gz |
PR preprocessor/3669
* cppinit.c (init_dependency_output): Turn off dump requests
if sending dependencies to stdout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44457 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 0aac625f84c..9f2b9f7b4c0 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -1765,12 +1765,14 @@ init_dependency_output (pfile) } /* If dependencies go to standard output, or -MG is used, we should - suppress output. The user may be requesting other stuff to - stdout, with -dM, -v etc. We let them shoot themselves in the - foot. */ + suppress output, including -dM, -dI etc. */ if (CPP_OPTION (pfile, deps_file) == 0 || CPP_OPTION (pfile, print_deps_missing_files)) - CPP_OPTION (pfile, no_output) = 1; + { + CPP_OPTION (pfile, no_output) = 1; + CPP_OPTION (pfile, dump_macros) = 0; + CPP_OPTION (pfile, dump_includes) = 0; + } } static void |