aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}