This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Remove f_options and other options handling improvements


Zdenek Dvorak wrote:-

> 	* Makefile.in (FLAGS_H): New.
> 	(flags.h): Replace by FLAGS_H.
> 	* c.opt: Document Var, VarExists, Init and Report attributes.

There is a missing parenthesis in this documentation.

> 	* common.opt: Fill the values of the attributes.
> 	* diagnostic.c (flag_fatal_errors): Do not define.
> 	* except.c (flag_non_call_exceptions): Do not define.
> 	* flags.h: Include options.h.  Remove declarations conflicting with
> 	the automatically defined ones.
> 	* opts.c: Remove automatically defined variables.
> 	(handle_option): Perform default initialization.
> 	(common_handle_option): Do not handle options covered by the
> 	default initialization.
> 	* opts.h (struct cl_option): Add flag_var, has_set_value and set_value
> 	fields.
> 	(CL_REPORT): New.
> 	* opts.sh: Generate variable declarations, handle CL_REPORT.
> 	* toplev.c: Remove automatically defined variables.
> 	(f_options): Removed.
> 	(print_switch_values): Use cl_options instead of f_options.
> 	* toplev.h (version_flag): Declaration removed.

OK.

Neil.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]