aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-09-10 18:15:16 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-09-10 16:15:16 +0000
commit68a57628f482c75003abfc77b5c2a3be029668fa (patch)
tree84c59df749dae34dd7bb119424fe9cd116182766 /gcc/doc
parentef8febf85853e289951278ab5cb7ba6f4e3d2cd1 (diff)
downloadgcc-68a57628f482c75003abfc77b5c2a3be029668fa.zip
gcc-68a57628f482c75003abfc77b5c2a3be029668fa.tar.gz
gcc-68a57628f482c75003abfc77b5c2a3be029668fa.tar.bz2
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
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/options.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index 1c83d24..b59f4d3 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -314,9 +314,9 @@ The state of this option should be stored in variable @var{var}
(actually a macro for @code{global_options.x_@var{var}}).
The way that the state is stored depends on the type of option:
-@item Deprecated
-The option is deprecated and every usage of such option will
-result in a warning.
+@item WarnRemoved
+The option is removed and every usage of such option will
+result in a warning. We use it option backward compatibility.
@item Var(@var{var}, @var{set})
The option controls an integer variable @var{var} and is active when