Commit 2c4c82dd by Brooks Moses Committed by Brooks Moses

re PR driver/31353 (gcc --help=target gives a linker error.)

PR other/31353
* gcc.c (main): Do not run the linker if
print_subprocess_help indicates that it shouldn't be
run.

From-SVN: r123498
parent 5bb43e6d
2007-04-04 Brooks Moses <brooks.moses@codesourcery.com>
PR other/31353
* gcc.c (main): Do not run the linker if
print_subprocess_help indicates that it shouldn't be
run.
2007-04-04 Brooks Moses <brooks.moses@codesourcery.com>
PR doc/31355
* doc/invoke.texi (--help=): Document <languages> value, fix
formatting in tables of values.
......
......@@ -6692,7 +6692,7 @@ main (int argc, char **argv)
/* Run ld to link all the compiler output files. */
if (num_linker_inputs > 0 && error_count == 0)
if (num_linker_inputs > 0 && error_count == 0 && print_subprocess_help < 2)
{
int tmp = execution_count;
......
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