aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppfiles.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-07-22 20:08:29 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-07-22 20:08:29 +0000
commit4a94111573211a1cf8ab6e8fa35e23f0418ec25a (patch)
tree49ec597a58106b57d7437f5c6a9637c0a19a84d8 /gcc/cppfiles.c
parent7488cc6d69218c4863a4dcb44c687a1c3eb5bb2e (diff)
downloadgcc-4a94111573211a1cf8ab6e8fa35e23f0418ec25a.zip
gcc-4a94111573211a1cf8ab6e8fa35e23f0418ec25a.tar.gz
gcc-4a94111573211a1cf8ab6e8fa35e23f0418ec25a.tar.bz2
cppfiles.c (stack_include_file): Correct test of whether a dependency should be output.
* cppfiles.c (stack_include_file): Correct test of whether a dependency should be output. From-SVN: r55657
Diffstat (limited to 'gcc/cppfiles.c')
-rw-r--r--gcc/cppfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c
index 85c9b6e..903e02d 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -319,7 +319,7 @@ stack_include_file (pfile, inc)
(inc->foundhere ? inc->foundhere->sysp : 0));
/* For -M, add the file to the dependencies on its first inclusion. */
- if (CPP_OPTION (pfile, print_deps) > sysp && !inc->include_count)
+ if (CPP_OPTION (pfile, print_deps) > !!sysp && !inc->include_count)
deps_add_dep (pfile->deps, inc->name);
/* Not in cache? */