projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c05bba0
)
[PATCH] [4/n] Fix minor SSA_NAME leaks
author
Jeff Law
<law@gcc.gnu.org>
Thu, 8 Oct 2015 23:19:35 +0000
(17:19 -0600)
committer
Jeff Law
<law@gcc.gnu.org>
Thu, 8 Oct 2015 23:19:35 +0000
(17:19 -0600)
* tree-ssa-loop-im.c (rewrite_bittest): Add missing call to
release_defs.
From-SVN: r228627
gcc/tree-ssa-loop-im.c
patch
|
blob
|
history
diff --git
a/gcc/tree-ssa-loop-im.c
b/gcc/tree-ssa-loop-im.c
index 9b2436f56b051218e15f761f34aefe8d15e2e5b8..603e6d49d51dbcea464dbf9b97fb421a7793f5c7 100644
(file)
--- 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;
}