OSDN Git Service

PR c/4988
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2001 22:36:51 +0000 (22:36 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Dec 2001 22:36:51 +0000 (22:36 +0000)
* (process_command): Don't add a preprocessor option for
--help and --target-help; cc1 is enough.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47565 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index 16ad5fe..a3db409 100644 (file)
@@ -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.
index 0395947..cb2e47b 100644 (file)
--- 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);
         }