diff options
Diffstat (limited to 'gcc/cfghooks.c')
-rw-r--r-- | gcc/cfghooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c index 9e2eae75d49..f1103c15685 100644 --- a/gcc/cfghooks.c +++ b/gcc/cfghooks.c @@ -767,7 +767,7 @@ make_forwarder_block (basic_block bb, bool (*redirect_edge_p) (edge), } /* In case we split loop latch, update it. */ - for (ploop = loop; ploop; ploop = ploop->outer) + for (ploop = loop; ploop; ploop = loop_outer (ploop)) if (ploop->latch == dummy) ploop->latch = bb; } |