aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r--gcc/cppinit.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c
index 93568f4..ff4cdb3 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. */