summaryrefslogtreecommitdiff
path: root/gcc/reg-stack.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-10-02 19:17:43 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1994-10-02 19:17:43 +0000
commit4f6a4a18f3e20f4fc6d2ff89dab4360ac650e503 (patch)
tree7a7638ed77b4479ef608c83011a9e7241573f383 /gcc/reg-stack.c
parent9d5f32a3bc12f446d2a848b1ef5035296c22cb24 (diff)
downloadgcc-4f6a4a18f3e20f4fc6d2ff89dab4360ac650e503.tar.gz
(subst_stack_regs): Check for NOTE to see if insn was deleted.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8204 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r--gcc/reg-stack.c2
1 files changed, 1 insertions, 1 deletions
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,