* 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
+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.
+
2006-01-05 Richard Henderson <rth@redhat.com>
* c-parser.c (c_parser_objc_methodprotolist): Handle CPP_PRAGMA.
if (TREE_CODE (stmt) == PHI_NODE)
return;
+ get_stmt_ann (stmt);
vars_in_vops_to_rename = BITMAP_ALLOC (NULL);
/* Before re-scanning the statement for operands, mark the existing
static void
tidy_after_forward_propagate_addr (tree stmt)
{
- mark_new_vars_to_rename (stmt);
-
/* We may have turned a trapping insn into a non-trapping insn. */
if (maybe_clean_or_replace_eh_stmt (stmt, stmt)
&& tree_purge_dead_eh_edges (bb_for_stmt (stmt)))
if (TREE_CODE (TREE_OPERAND (stmt, 1)) == ADDR_EXPR)
recompute_tree_invariant_for_addr_expr (TREE_OPERAND (stmt, 1));
- update_stmt (stmt);
+ mark_new_vars_to_rename (stmt);
}
/* STMT defines LHS which is contains the address of the 0th element
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);
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.