Commit 7c11b28c by Bernd Schmidt Committed by Bernd Schmidt

reload1.c (eliminte_regs_in_insn): Use REG_EQUIV notes the same way we use REG_EQUAL.

	* reload1.c (eliminte_regs_in_insn): Use REG_EQUIV notes the same way
	we use REG_EQUAL.

From-SVN: r123932
parent abe2f66a
2007-04-18 Bernd Schmidt <bernd.schmidt@analog.com>
* reload1.c (eliminte_regs_in_insn): Use REG_EQUIV notes the same way
we use REG_EQUAL.
2007-04-17 Anatoly Sokolov <aesok@post.ru> 2007-04-17 Anatoly Sokolov <aesok@post.ru>
PR target/30483 PR target/30483
......
...@@ -3101,7 +3101,8 @@ eliminate_regs_in_insn (rtx insn, int replace) ...@@ -3101,7 +3101,8 @@ eliminate_regs_in_insn (rtx insn, int replace)
rtx links; rtx links;
for (links = REG_NOTES (insn); links; links = XEXP (links, 1)) for (links = REG_NOTES (insn); links; links = XEXP (links, 1))
{ {
if (REG_NOTE_KIND (links) == REG_EQUAL if ((REG_NOTE_KIND (links) == REG_EQUAL
|| REG_NOTE_KIND (links) == REG_EQUIV)
&& GET_CODE (XEXP (links, 0)) == PLUS && GET_CODE (XEXP (links, 0)) == PLUS
&& GET_CODE (XEXP (XEXP (links, 0), 1)) == CONST_INT) && GET_CODE (XEXP (XEXP (links, 0), 1)) == CONST_INT)
{ {
......
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