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
This commit is contained in:
Neil Booth 2001-12-03 22:36:51 +00:00 committed by Neil Booth
parent 75940b886e
commit bdf4130847
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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.

View File

@ -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);
}