aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
-rw-r--r--gcc/tree-ssa-phiopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c
index 3eedf99..41370ed 100644
--- a/gcc/tree-ssa-phiopt.c
+++ b/gcc/tree-ssa-phiopt.c
@@ -313,7 +313,7 @@ replace_phi_edge_with_variable (basic_block cond_block, basic_block bb,
block_stmt_iterator bsi;
/* Change the PHI argument to new. */
- PHI_ARG_DEF_TREE (phi, e->dest_idx) = new;
+ SET_USE (PHI_ARG_DEF_PTR (phi, e->dest_idx), new);
/* Remove the empty basic block. */
if (EDGE_SUCC (cond_block, 0)->dest == bb)