aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dce.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-dce.c')
-rw-r--r--gcc/tree-ssa-dce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-dce.c b/gcc/tree-ssa-dce.c
index 341b7683040..ffdfcba2239 100644
--- a/gcc/tree-ssa-dce.c
+++ b/gcc/tree-ssa-dce.c
@@ -336,7 +336,7 @@ mark_stmt_if_obviously_necessary (tree stmt, bool aggressive)
statement from being marked necessary, we replace the condition
with a constant. The stmt is killed later on in cfg_cleanup. */
COND_EXPR_COND (stmt) = integer_zero_node;
- modify_stmt (stmt);
+ update_stmt (stmt);
return;
}
/* Fall through. */