diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-24 18:44:40 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-24 18:44:40 +0000 |
commit | 162804c01ec263d3f3420fae57a7cabf1b9af528 (patch) | |
tree | a8bb7305a5a82c84986b30d9aec74961e26639ee /gcc/cppinit.c | |
parent | a4c3f3f4fba9a631b94fe74aa6ee2bf74641878b (diff) | |
download | ppe42-gcc-162804c01ec263d3f3420fae57a7cabf1b9af528.tar.gz ppe42-gcc-162804c01ec263d3f3420fae57a7cabf1b9af528.zip |
* cppfiles.c (_cpp_read_file): Add to dependencies if requested.
* cppinit.c (cpp_start_read): Remove deps_add_dep call.
* tradcpp.c (main): Add -imacros or -include'd dependencies
for -M*.
* cpp.texi (-M, -MM): Document -M -include behaviour.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39240 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 93568f4b1fc..ff4cdb38bbb 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -911,13 +911,8 @@ cpp_start_read (pfile, fname) CPP_OPTION (pfile, out_fname) = ""; if (CPP_OPTION (pfile, print_deps)) - { - /* Set the default target (if there is none already), and - the dependency on the main file. */ - deps_add_default_target (pfile->deps, CPP_OPTION (pfile, in_fname)); - - deps_add_dep (pfile->deps, CPP_OPTION (pfile, in_fname)); - } + /* Set the default target (if there is none already). */ + deps_add_default_target (pfile->deps, CPP_OPTION (pfile, in_fname)); /* Open the main input file. This must be done early, so we have a buffer to stand on. */ |