Commit 2c797321 by Jakub Jelinek Committed by Jakub Jelinek

ira.c (ira_update_equiv_info_by_shuffle_insn): Use copy_rtx for REG_EQUIV argument.

	* ira.c (ira_update_equiv_info_by_shuffle_insn): Use copy_rtx
	for REG_EQUIV argument.

From-SVN: r243017
parent 11bbe995
2016-11-30 Jakub Jelinek <jakub@redhat.com>
* ira.c (ira_update_equiv_info_by_shuffle_insn): Use copy_rtx
for REG_EQUIV argument.
2016-11-30 Thomas Preud'homme <thomas.preudhomme@arm.com> 2016-11-30 Thomas Preud'homme <thomas.preudhomme@arm.com>
* config/arm/t-rmprofile: Add mappings for Cortex-M23 and Cortex-M33. * config/arm/t-rmprofile: Add mappings for Cortex-M23 and Cortex-M33.
...@@ -2647,7 +2647,7 @@ ira_update_equiv_info_by_shuffle_insn (int to_regno, int from_regno, rtx_insn *i ...@@ -2647,7 +2647,7 @@ ira_update_equiv_info_by_shuffle_insn (int to_regno, int from_regno, rtx_insn *i
} }
if (find_reg_note (insn, REG_EQUIV, x) == NULL_RTX) if (find_reg_note (insn, REG_EQUIV, x) == NULL_RTX)
{ {
note = set_unique_reg_note (insn, REG_EQUIV, x); note = set_unique_reg_note (insn, REG_EQUIV, copy_rtx (x));
gcc_assert (note != NULL_RTX); gcc_assert (note != NULL_RTX);
if (internal_flag_ira_verbose > 3 && ira_dump_file != NULL) if (internal_flag_ira_verbose > 3 && ira_dump_file != NULL)
{ {
......
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