tree-ssa-dce.c (eliminate_unnecessary_stmts): Release LHS SSA name when we remove it from a call.
2007-05-28 Daniel Berlin <dberlin@dberlin.org> * tree-ssa-dce.c (eliminate_unnecessary_stmts): Release LHS SSA name when we remove it from a call. From-SVN: r125147
This commit is contained in:
parent
179daa1590
commit
3659e0cd91
@ -1,3 +1,8 @@
|
||||
2007-05-28 Daniel Berlin <dberlin@dberlin.org>
|
||||
|
||||
* tree-ssa-dce.c (eliminate_unnecessary_stmts): Release LHS SSA
|
||||
name when we remove it from a call.
|
||||
|
||||
2007-05-28 Kazu Hirata <kazu@codesourcery.com>
|
||||
|
||||
* targhooks.c (default_narrow_bitfield): Remove.
|
||||
|
@ -702,6 +702,7 @@ eliminate_unnecessary_stmts (void)
|
||||
== SSA_NAME)
|
||||
&& !TEST_BIT (processed, SSA_NAME_VERSION (name)))
|
||||
{
|
||||
tree oldlhs = GIMPLE_STMT_OPERAND (t, 0);
|
||||
something_changed = true;
|
||||
if (dump_file && (dump_flags & TDF_DETAILS))
|
||||
{
|
||||
@ -715,6 +716,7 @@ eliminate_unnecessary_stmts (void)
|
||||
maybe_clean_or_replace_eh_stmt (t, call);
|
||||
mark_symbols_for_renaming (call);
|
||||
pop_stmt_changes (bsi_stmt_ptr (i));
|
||||
release_ssa_name (oldlhs);
|
||||
}
|
||||
notice_special_calls (call);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user