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
This commit is contained in:
Bernd Schmidt 2007-04-17 22:35:47 +00:00 committed by Bernd Schmidt
parent abe2f66ab9
commit 7c11b28c57
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
PR target/30483

View File

@ -3101,7 +3101,8 @@ eliminate_regs_in_insn (rtx insn, int replace)
rtx links;
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 (XEXP (links, 0), 1)) == CONST_INT)
{