From 2289ec9d149662c2963e088d6d1e84b9d66b4745 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 2 Oct 1994 15:17:43 -0400 Subject: [PATCH] (subst_stack_regs): Check for NOTE to see if insn was deleted. From-SVN: r8204 --- gcc/reg-stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index d0d77f3ee02..f52b2887296 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -2580,7 +2580,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 (INSN_DELETED_P (insn)) + if (GET_CODE (insn) == NOTE) return; /* If there is a REG_UNUSED note on a stack register on this insn, -- 2.30.2