Commit df07e07d by Neil Booth Committed by Neil Booth

re PR preprocessor/3669 (-M -g3 outputs macros as well as dependency info)

	PR preprocessor/3669
	* cppinit.c (init_dependency_output): Turn off dump requests
	if sending dependencies to stdout.

From-SVN: r44457
parent 7729617c
2001-07-29 Neil Booth <neil@daikokuya.demon.co.uk>
PR preprocessor/3669
* cppinit.c (init_dependency_output): Turn off dump requests
if sending dependencies to stdout.
2001-07-28 Richard Henderson <rth@redhat.com> 2001-07-28 Richard Henderson <rth@redhat.com>
* flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if * flow.c (life_analysis): Elide PROP_ALLOW_CFG_CHANGES if
......
...@@ -1765,12 +1765,14 @@ init_dependency_output (pfile) ...@@ -1765,12 +1765,14 @@ init_dependency_output (pfile)
} }
/* If dependencies go to standard output, or -MG is used, we should /* If dependencies go to standard output, or -MG is used, we should
suppress output. The user may be requesting other stuff to suppress output, including -dM, -dI etc. */
stdout, with -dM, -v etc. We let them shoot themselves in the
foot. */
if (CPP_OPTION (pfile, deps_file) == 0 if (CPP_OPTION (pfile, deps_file) == 0
|| CPP_OPTION (pfile, print_deps_missing_files)) || CPP_OPTION (pfile, print_deps_missing_files))
CPP_OPTION (pfile, no_output) = 1; {
CPP_OPTION (pfile, no_output) = 1;
CPP_OPTION (pfile, dump_macros) = 0;
CPP_OPTION (pfile, dump_includes) = 0;
}
} }
static void static void
......
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