r270788 - in /trunk/gcc: ChangeLog gcc.c opts-g...

marxin@gcc.gnu.org marxin@gcc.gnu.org
Thu May 2 08:16:00 GMT 2019


Author: marxin
Date: Thu May  2 08:16:12 2019
New Revision: 270788

URL: https://gcc.gnu.org/viewcvs?rev=270788&root=gcc&view=rev
Log:
Postpone print of --help=* option.

2019-05-02  Martin Liska  <mliska@suse.cz>

	* gcc.c (process_command): Add dummy file only
	if n_infiles == 0.
	* opts-global.c (decode_options): Pass lang_mask.
	* opts.c (print_help): New function.
	(finish_options): Print --help if help_option_argument
	is set.
	(common_handle_option): Factor out content of OPT__help_
	into print_help.
	* opts.h (finish_options): Add new argument.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gcc.c
    trunk/gcc/opts-global.c
    trunk/gcc/opts.c
    trunk/gcc/opts.h



More information about the Gcc-cvs mailing list