Commit 2289ec9d by Richard Kenner

(subst_stack_regs): Check for NOTE to see if insn was deleted.

From-SVN: r8204
parent 9bfe7965
...@@ -2580,7 +2580,7 @@ subst_stack_regs (insn, regstack) ...@@ -2580,7 +2580,7 @@ subst_stack_regs (insn, regstack)
/* subst_stack_regs_pat may have deleted a no-op insn. If so, any /* subst_stack_regs_pat may have deleted a no-op insn. If so, any
REG_UNUSED will already have been dealt with, so just return. */ REG_UNUSED will already have been dealt with, so just return. */
if (INSN_DELETED_P (insn)) if (GET_CODE (insn) == NOTE)
return; return;
/* If there is a REG_UNUSED note on a stack register on this insn, /* If there is a REG_UNUSED note on a stack register on this insn,
......
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