* gcc.c (main): Do not run the linker if
print_subprocess_help indicates that it shouldn't be
run.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123498
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
/* 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;