This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Remove f_options and other options handling improvements
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, jsm at polyomino dot org dot uk, zack at codesourcery dot com
- Date: Sun, 13 Jun 2004 17:20:49 +0100
- Subject: Re: [patch] Remove f_options and other options handling improvements
- References: <20040611235004.GA31752@atrey.karlin.mff.cuni.cz>
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.