Commit 4a941115 by Neil Booth Committed by Neil Booth

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
parent 7488cc6d
2002-07-22 Neil Booth <neil@daikokuya.co.uk>
* cppfiles.c (stack_include_file): Correct test of whether
a dependency should be output.
2002-07-22 David Edelsohn <edelsohn@gnu.org>
* collect2.c (is_ctor_dtor): Add other possible JOINER values.
......
......@@ -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? */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment