diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-05 18:15:04 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-05 18:15:04 +0000 |
commit | 72269ab0760904c48b83d0f063e16cdeaf246406 (patch) | |
tree | fe5f4e26dcf7c80e5afa220b251aea83ae2363da /gcc/cprop.c | |
parent | 2a0877d881b6fa969f55852b1743df5e8346ad54 (diff) | |
download | gcc-72269ab0760904c48b83d0f063e16cdeaf246406.tar.gz |
PR middle-end/48441
* cprop.c (one_cprop_pass): Do not mark_oprs_set of deleted insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171994 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cprop.c')
-rw-r--r-- | gcc/cprop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cprop.c b/gcc/cprop.c index b9235f176c3..74520e38f41 100644 --- a/gcc/cprop.c +++ b/gcc/cprop.c @@ -1797,8 +1797,8 @@ one_cprop_pass (void) /* Keep track of everything modified by this insn. */ /* ??? Need to be careful w.r.t. mods done to INSN. Don't call mark_oprs_set if we turned the - insn into a NOTE. */ - if (! NOTE_P (insn)) + insn into a NOTE, or deleted the insn. */ + if (! NOTE_P (insn) && ! INSN_DELETED_P (insn)) mark_oprs_set (insn); } } |