summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-live.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-live.c')
-rw-r--r--gcc/tree-ssa-live.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c
index e0f9d9cb536..8f504f005fe 100644
--- a/gcc/tree-ssa-live.c
+++ b/gcc/tree-ssa-live.c
@@ -765,10 +765,6 @@ remove_unused_locals (void)
FOR_EACH_PHI_ARG (arg_p, phi, i, SSA_OP_ALL_USES)
{
tree arg = USE_FROM_PTR (arg_p);
- int index = PHI_ARG_INDEX_FROM_USE (arg_p);
- tree block = gimple_phi_arg_block (phi, index);
- if (block != NULL)
- TREE_USED (block) = true;
mark_all_vars_used (&arg, global_unused_vars);
}
}