diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2009-11-21 05:04:50 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2009-11-21 05:04:50 +0000 |
commit | b70fdfe4beebbc1f82c14326ec3b6a85be0a36b3 (patch) | |
tree | 7c24d3e8e35f7205cd2d947f8fa5850b9b37e3b2 /gcc/tree-ssa-pre.c | |
parent | 21cf718065ecda762be39bd34606b29239d2efaf (diff) | |
download | gcc-b70fdfe4beebbc1f82c14326ec3b6a85be0a36b3.tar.gz |
tree-ssa-pre.c (remove_dead_inserted_code): Don't release_defs after remove_phi_node.
* tree-ssa-pre.c (remove_dead_inserted_code): Don't release_defs
after remove_phi_node.
From-SVN: r154401
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r-- | gcc/tree-ssa-pre.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 2ef6d76a40a..7e44f846590 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -4462,8 +4462,10 @@ remove_dead_inserted_code (void) if (gimple_code (t) == GIMPLE_PHI) remove_phi_node (&gsi, true); else - gsi_remove (&gsi, true); - release_defs (t); + { + gsi_remove (&gsi, true); + release_defs (t); + } } } VEC_free (gimple, heap, worklist); |