diff options
Diffstat (limited to 'gcc/tree-ssa-live.c')
-rw-r--r-- | gcc/tree-ssa-live.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c index 554a0397a32..15c8b482082 100644 --- a/gcc/tree-ssa-live.c +++ b/gcc/tree-ssa-live.c @@ -589,7 +589,7 @@ calculate_live_on_entry (var_map map) if (!phi_ssa_name_p (var)) continue; stmt = SSA_NAME_DEF_STMT (var); - e = PHI_ARG_EDGE (phi, i); + e = EDGE_PRED (bb, i); /* Any uses in PHIs which either don't have def's or are not defined in the block from which the def comes, will be live |