summaryrefslogtreecommitdiff
path: root/gcc/cppfiles.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-22 20:08:29 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-22 20:08:29 +0000
commitde7d95a1f60280a5120dd5784780cea4fa550a38 (patch)
tree49ec597a58106b57d7437f5c6a9637c0a19a84d8 /gcc/cppfiles.c
parent212c64849be791cdeeac81fa7ee30fa42b587dfa (diff)
downloadgcc-de7d95a1f60280a5120dd5784780cea4fa550a38.tar.gz
* cppfiles.c (stack_include_file): Correct test of whether
a dependency should be output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55657 138bc75d-0d04-0410-961f-82ee72b054a4
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 85c9b6e5544..903e02da614 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? */