diff options
Diffstat (limited to 'gcc/tree-ssa-loop-ivopts.c')
-rw-r--r-- | gcc/tree-ssa-loop-ivopts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 417c4635943..867f72d0668 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -4659,7 +4659,7 @@ compute_phi_arg_on_exit (edge exit, tree stmts, tree op) for (phi = phi_nodes (exit->dest); phi; phi = next) { - next = TREE_CHAIN (phi); + next = PHI_CHAIN (phi); if (PHI_ARG_DEF_FROM_EDGE (phi, exit) == op) { |