diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-10-02 19:17:43 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-10-02 19:17:43 +0000 |
commit | 4f6a4a18f3e20f4fc6d2ff89dab4360ac650e503 (patch) | |
tree | 7a7638ed77b4479ef608c83011a9e7241573f383 /gcc/reg-stack.c | |
parent | 9d5f32a3bc12f446d2a848b1ef5035296c22cb24 (diff) | |
download | gcc-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.c | 2 |
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, |