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>

	* tree-ssa-loop-niter.c (finite_loop_p): Do not call twice
	get_loop_exit_edges.

From-SVN: r154630
This commit is contained in:
Sebastian Pop 2009-11-25 05:27:08 +00:00 committed by Sebastian Pop
parent 4c76804615
commit 431f3f2240
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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;