2012-05-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
commitfbb6fbd8cdbfa154ef6da31768c93d48a03a146b
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 May 2012 12:23:50 +0000 (11 12:23 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 May 2012 12:23:50 +0000 (11 12:23 +0000)
tree1a38b4f6902dc5e5cc35971539a25051202efa2e
parentf634c3e9e6fb44109149673db20197d6fad93419
2012-05-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR 53063
gcc/
* doc/options.texi (EnabledBy): Document
* opts.c: Include opts.h and options.h before tm.h.
(finish_options): Do not handle some sub-options here...
(common_handle_option): ... instead call common_handle_option_auto here.
* optc-gen.awk: Handle EnabledBy.
* opth-gen.awk: Declare common_handle_option_auto.
* common.opt (Wuninitialized): Use EnabledBy. Delete Init.
(Wmaybe-uninitialized): Likewise.
        (Wunused-but-set-variable): Likewise.
        (Wunused-function): Likewise.
        (Wunused-label): Likewise.
        (Wunused-value): Likewise.
        (Wunused-variable): Likewise.
        * opt-read.awk: Create opt_numbers array.
ada/
* gcc-interface/misc.c (gnat_parse_file): Move before ...
(gnat_handle_option): ... this. Use handle_generated_option.
c-family/
* c-opts.c (c_common_handle_option): Use handle_generated_option
to enable sub-options.
fortran/
* options.c: Include diagnostics.h instead of
diagnostics-core.h.
(set_Wall): Do not see warn_unused here.
(gfc_handle_option): Set it here using handle_generated_option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187403 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/misc.c
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/common.opt
gcc/doc/options.texi
gcc/fortran/ChangeLog
gcc/fortran/options.c
gcc/opt-read.awk
gcc/optc-gen.awk
gcc/opth-gen.awk
gcc/opts.c