diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-20 23:50:07 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-20 23:50:07 +0000 |
commit | 5192f3edaf7a66b676c5105338a1cf6eb13f521e (patch) | |
tree | 26d41bce1e66ef3896040d2ffb49758e4c155652 /gcc/reg-stack.c | |
parent | 1d7ac33af60df142f484b316e04a3ef5adf6f9e7 (diff) | |
download | gcc-5192f3edaf7a66b676c5105338a1cf6eb13f521e.tar.gz |
* reg-stack.c (subst_stack_regs): Properly check for deleted insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49024 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 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, |