aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-12-03 22:36:51 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-12-03 22:36:51 +0000
commitbdf4130847426f054769f0fa911ee0aa197b28e3 (patch)
tree0fdcd827c5a4ebb3c97ff21074b478afa697f1e2
parent75940b886e593af5469d03c19402b581935b58a8 (diff)
downloadgcc-bdf4130847426f054769f0fa911ee0aa197b28e3.zip
gcc-bdf4130847426f054769f0fa911ee0aa197b28e3.tar.gz
gcc-bdf4130847426f054769f0fa911ee0aa197b28e3.tar.bz2
re PR c/4988 (--target-help emits cc1 printout twice)
PR c/4988 * (process_command): Don't add a preprocessor option for --help and --target-help; cc1 is enough. From-SVN: r47565
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/gcc.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 16ad5fe..a3db409 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
+ PR c/4988
+ * (process_command): Don't add a preprocessor option for
+ --help and --target-help; cc1 is enough.
+
+2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
+
* c-decl.c (grokdeclarator): Use ISO word.
* cppinit.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 0395947..cb2e47b 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -3310,7 +3310,6 @@ process_command (argc, argv)
n_infiles++;
n_switches++;
- add_preprocessor_option ("--help", 6);
add_assembler_option ("--help", 6);
add_linker_option ("--help", 6);
}
@@ -3323,7 +3322,6 @@ process_command (argc, argv)
n_infiles++;
n_switches++;
- add_preprocessor_option ("--target-help", 13);
add_assembler_option ("--target-help", 13);
add_linker_option ("--target-help", 13);
}