Message ID | 5616FA4C.7090709@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/tree-ssa-loop-im.c b/gcc/tree-ssa-loop-im.c index 9b2436f..603e6d4 100644 --- a/gcc/tree-ssa-loop-im.c +++ b/gcc/tree-ssa-loop-im.c @@ -983,7 +983,9 @@ rewrite_bittest (gimple_stmt_iterator *bsi) rsi = *bsi; gsi_insert_before (bsi, stmt1, GSI_NEW_STMT); gsi_insert_before (&rsi, stmt2, GSI_SAME_STMT); + gimple *to_release = gsi_stmt (rsi); gsi_remove (&rsi, true); + release_defs (to_release); return stmt1; }