tree-if-conv.c (combine_blocks): Free the result of get_loop_exit_edges.

* tree-if-conv.c (combine_blocks): Free the result of
        get_loop_exit_edges.

From-SVN: r110850
This commit is contained in:
Sebastian Pop 2006-02-10 21:46:03 +01:00 committed by Sebastian Pop
parent 284cbef5cf
commit 9769818580
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-02-10 Sebastian Pop <pop@cri.ensmp.fr>
* tree-if-conv.c (combine_blocks): Free the result of
get_loop_exit_edges.
2006-02-10 Jeff Law <law@redhat.com>
* fold-const.c (tree_expr_nonzero_p): Fix thinko.

View File

@ -864,8 +864,10 @@ combine_blocks (struct loop *loop)
unsigned int orig_loop_num_nodes = loop->num_nodes;
unsigned int i;
unsigned int n_exits;
edge *exits;
get_loop_exit_edges (loop, &n_exits);
exits = get_loop_exit_edges (loop, &n_exits);
free (exits);
/* Process phi nodes to prepare blocks for merge. */
process_phi_nodes (loop);