diff options
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r-- | gcc/reg-stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index e7f69b0e786..c0915a59b3c 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -2215,7 +2215,7 @@ subst_stack_regs (insn, regstack) /* 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. */ - if (GET_CODE (insn) == NOTE) + if (GET_CODE (insn) == NOTE || INSN_DELETED_P (insn)) return; /* If there is a REG_UNUSED note on a stack register on this insn, |