From: Neil Booth Date: Mon, 3 Dec 2001 22:36:51 +0000 (+0000) Subject: re PR c/4988 (--target-help emits cc1 printout twice) X-Git-Tag: prereleases/libstdc++-3.0.95~552 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bdf4130847426f054769f0fa911ee0aa197b28e3;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 16ad5fe713c4..a3db409c00ff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-12-03 Neil Booth + + PR c/4988 + * (process_command): Don't add a preprocessor option for + --help and --target-help; cc1 is enough. + 2001-12-03 Neil Booth * c-decl.c (grokdeclarator): Use ISO word. diff --git a/gcc/gcc.c b/gcc/gcc.c index 03959471baeb..cb2e47bc40b3 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); }