Commit bdf41308 by Neil Booth Committed by Neil Booth

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
parent 75940b88
2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk> 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. * c-decl.c (grokdeclarator): Use ISO word.
* cppinit.c: Remove leading capital from diagnostic messages, as * cppinit.c: Remove leading capital from diagnostic messages, as
per GNU coding standards. per GNU coding standards.
......
...@@ -3310,7 +3310,6 @@ process_command (argc, argv) ...@@ -3310,7 +3310,6 @@ process_command (argc, argv)
n_infiles++; n_infiles++;
n_switches++; n_switches++;
add_preprocessor_option ("--help", 6);
add_assembler_option ("--help", 6); add_assembler_option ("--help", 6);
add_linker_option ("--help", 6); add_linker_option ("--help", 6);
} }
...@@ -3323,7 +3322,6 @@ process_command (argc, argv) ...@@ -3323,7 +3322,6 @@ process_command (argc, argv)
n_infiles++; n_infiles++;
n_switches++; n_switches++;
add_preprocessor_option ("--target-help", 13);
add_assembler_option ("--target-help", 13); add_assembler_option ("--target-help", 13);
add_linker_option ("--target-help", 13); add_linker_option ("--target-help", 13);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment