From: Neil Booth Date: Mon, 22 Jul 2002 20:08:29 +0000 (+0000) Subject: cppfiles.c (stack_include_file): Correct test of whether a dependency should be output. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a94111573211a1cf8ab6e8fa35e23f0418ec25a;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 16453e57e12..3e16c796d28 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-07-22 Neil Booth + + * cppfiles.c (stack_include_file): Correct test of whether + a dependency should be output. + 2002-07-22 David Edelsohn * collect2.c (is_ctor_dtor): Add other possible JOINER values. 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? */