aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/gcc.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ace008d..c16fc4d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
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.
diff --git a/gcc/gcc.c b/gcc/gcc.c
index b4f9abe..3d826d9 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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;