diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-06 12:27:14 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-06 12:27:14 +0000 |
commit | 538cbb1ecf7a2cbb821f14b49a32ebfe7bb271da (patch) | |
tree | bbbbd052ce8b081cd8692e3a8756f3a53ebcd797 /gcc/tree-ssa-pre.c | |
parent | e7385d7ed67d696c66c7f4a356f92ca312a61b20 (diff) | |
download | gcc-538cbb1ecf7a2cbb821f14b49a32ebfe7bb271da.tar.gz |
2006-01-06 Richard Guenther <rguenther@suse.de>
* tree-dfa.c (mark_new_vars_to_rename): Create stmt
annotation, if necessary.
* tree-ssa-pre.c (create_expression_by_pieces): Remove
redundant calls to update_stmt.
* tree-ssa-forwprop.c (tidy_after_forward_propagate_addr):
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109416 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r-- | gcc/tree-ssa-pre.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 2e2fd64b626..cb4e51f8c95 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -2150,8 +2150,7 @@ create_expression_by_pieces (basic_block block, tree expr, tree stmts) vn_add (forcedname, val); bitmap_value_replace_in_set (NEW_SETS (block), forcedname); bitmap_value_replace_in_set (AVAIL_OUT (block), forcedname); - update_stmt (stmt); - mark_new_vars_to_rename (tsi_stmt (tsi)); + mark_new_vars_to_rename (stmt); } tsi = tsi_last (stmts); tsi_link_after (&tsi, forced_stmts, TSI_CONTINUE_LINKING); @@ -2179,7 +2178,6 @@ create_expression_by_pieces (basic_block block, tree expr, tree stmts) tsi = tsi_last (stmts); tsi_link_after (&tsi, newexpr, TSI_CONTINUE_LINKING); VEC_safe_push (tree, heap, inserted_exprs, newexpr); - update_stmt (newexpr); mark_new_vars_to_rename (newexpr); /* Add a value handle to the temporary. |