summaryrefslogtreecommitdiff
path: root/gcc/tree-into-ssa.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-into-ssa.c')
-rw-r--r--gcc/tree-into-ssa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c
index 46470a407bb..09e6d1f51cc 100644
--- a/gcc/tree-into-ssa.c
+++ b/gcc/tree-into-ssa.c
@@ -438,7 +438,7 @@ mark_def_sites (struct dom_walk_data *walk_data,
/* Mark all the blocks that have definitions for each variable in the
VARS_TO_RENAME bitmap. */
stmt = bsi_stmt (bsi);
- get_stmt_operands (stmt);
+ update_stmt_if_modified (stmt);
REWRITE_THIS_STMT (stmt) = 0;
@@ -1346,6 +1346,7 @@ rewrite_into_ssa (bool all)
static void
rewrite_all_into_ssa (void)
{
+ init_ssa_operands ();
rewrite_into_ssa (true);
}
@@ -1583,7 +1584,7 @@ ssa_mark_def_sites (struct dom_walk_data *walk_data,
/* Mark all the blocks that have definitions for each variable in the
names_to_rename bitmap. */
stmt = bsi_stmt (bsi);
- get_stmt_operands (stmt);
+ update_stmt_if_modified (stmt);
/* If a variable is used before being set, then the variable is live
across a block boundary, so mark it live-on-entry to BB. */