Commit 3d043c51 by Martin Liska Committed by Martin Liska

Ignore properly -mdirect-move (PR target/87164).

2018-09-05  Martin Liska  <mliska@suse.cz>

	PR target/87164
	* config/rs6000/rs6000.opt: Mark the option as Deprecated.
	* optc-gen.awk: Allow 'Var' for Deprecated options in order
	to generate a MASK value.

From-SVN: r264111
parent 74be6f51
2018-09-05 Martin Liska <mliska@suse.cz>
PR target/87164
* config/rs6000/rs6000.opt: Mark the option as Deprecated.
* optc-gen.awk: Allow 'Var' for Deprecated options in order
to generate a MASK value.
2018-09-04 H.J. Lu <hongjiu.lu@intel.com>
PR debug/86593
......
......@@ -483,9 +483,8 @@ mcrypto
Target Report Mask(CRYPTO) Var(rs6000_isa_flags)
Use ISA 2.07 Category:Vector.AES and Category:Vector.SHA2 instructions.
; We can't use Ignore flag because DIRECT_MOVE mask is still used.
mdirect-move
Target Undocumented Mask(DIRECT_MOVE) Var(rs6000_isa_flags) Warn(%qs is deprecated)
Target Undocumented Mask(DIRECT_MOVE) Var(rs6000_isa_flags) Deprecated
mhtm
Target Report Mask(HTM) Var(rs6000_isa_flags)
......
......@@ -336,8 +336,6 @@ for (i = 0; i < n_opts; i++) {
alias_data = "NULL, NULL, OPT_SPECIAL_deprecated"
if (warn_message != "NULL")
print "#error Deprecated option with Warn"
if (var_name(flags[i]) != "")
print "#error Deprecated option with Var"
if (flag_set_p("Report", flags[i]))
print "#error Deprecated option with Report"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment