Commit b70fdfe4 by Alexandre Oliva Committed by Alexandre Oliva

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
parent 21cf7180
2009-11-21 Alexandre Oliva <aoliva@redhat.com>
* tree-ssa-pre.c (remove_dead_inserted_code): Don't release_defs
after remove_phi_node.
2009-11-21 Alexandre Oliva <aoliva@redhat.com>
PR tree-optimization/42078
* gimple.h (gimple_replace_lhs): New declaration.
* gimple.c (gimple_replace_lhs): New function.
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment