diff options
Diffstat (limited to 'gcc/tree-ssa-loop-niter.c')
-rw-r--r-- | gcc/tree-ssa-loop-niter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index f410d8c63a8..6fad5c3f9eb 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -1006,7 +1006,7 @@ loop_only_exit_p (struct loop *loop, edge exit) unsigned i; tree call; - if (exit != loop->single_exit) + if (exit != single_exit (loop)) return false; body = get_loop_body (loop); |