Rename Deprecated to WarnRemoved in *.opt files.
authorMartin Liska <mliska@suse.cz>
Tue, 10 Sep 2019 16:15:16 +0000 (18:15 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 10 Sep 2019 16:15:16 +0000 (16:15 +0000)
commit68a57628f482c75003abfc77b5c2a3be029668fa
tree84c59df749dae34dd7bb119424fe9cd116182766
parentef8febf85853e289951278ab5cb7ba6f4e3d2cd1
Rename Deprecated to WarnRemoved in *.opt files.

2019-09-10  Martin Liska  <mliska@suse.cz>

* common.opt: Use newly added WarnRemoved.
* config/aarch64/aarch64.opt: Likewise.
* config/arm/arm.opt: Likewise.
* config/i386/i386.opt: Likewise.
* config/ia64/ia64.opt: Likewise.
* config/rs6000/rs6000.opt: Likewise.
* doc/options.texi: Document WarnRemoved properly.
* dwarf2out.c (gen_producer_string): Handle renamed
OPT_SPECIAL_warn_removed.
* lto-opts.c (lto_write_options): Likewise.
* lto-wrapper.c (merge_and_complain): Likewise.
* opts-common.c (decode_cmdline_option): Likewise.
(prune_options): Likewise.
(read_cmdline_option): Likewise.
(control_warning_option): Likewise.
* opts.c (print_filtered_help): Likewise.
* optc-gen.awk: Parse for WarnRemoved and make usage
of Deprecated an error.
* opth-gen.awk: Generate new OPT_SPECIAL_warn_removed.
2019-09-10  Martin Liska  <mliska@suse.cz>

* c.opt: Use newly added WarnRemoved.

From-SVN: r275592
17 files changed:
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c.opt
gcc/common.opt
gcc/config/aarch64/aarch64.opt
gcc/config/arm/arm.opt
gcc/config/i386/i386.opt
gcc/config/ia64/ia64.opt
gcc/config/rs6000/rs6000.opt
gcc/doc/options.texi
gcc/dwarf2out.c
gcc/lto-opts.c
gcc/lto-wrapper.c
gcc/optc-gen.awk
gcc/opth-gen.awk
gcc/opts-common.c
gcc/opts.c