diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index 932bef74214c77953d9c49ba254a745d0521612f..533d0e99eb116aebdb6236ccb3bc4749dd2f9ade 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -1,3 +1,8 @@ +2009-10-30 Sebastian Pop <sebastian.pop@amd.com> + + * tree-ssa-loop-niter.c (finite_loop_p): Do not call twice + get_loop_exit_edges. + 2009-10-30 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.c (pbb_remove_duplicate_pdrs): Free collapsed. diff --git a/gcc/tree-ssa-loop-niter.c b/gcc/tree-ssa-loop-niter.c index d7222104eb5c3b2a7e6497e002460e8e5904b688..405f3cafb5fd8b5596c6ec0b96e0d880c0b3f184 100644 --- a/gcc/tree-ssa-loop-niter.c +++ b/gcc/tree-ssa-loop-niter.c @@ -1960,7 +1960,7 @@ bool finite_loop_p (struct loop *loop) { unsigned i; - VEC (edge, heap) *exits = get_loop_exit_edges (loop); + VEC (edge, heap) *exits; edge ex; struct tree_niter_desc desc; bool finite = false;