diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-10 20:46:03 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-10 20:46:03 +0000 |
commit | f594b1cd2fc2e464fd6b8de9f26f63f5e412293d (patch) | |
tree | 8a2ed733615fdd86c40ffb69fed06e265b5a2794 /gcc/tree-if-conv.c | |
parent | 021ce01c222e0dee8e0cdae25db7c1a7563b2f36 (diff) | |
download | gcc-f594b1cd2fc2e464fd6b8de9f26f63f5e412293d.tar.gz |
* tree-if-conv.c (combine_blocks): Free the result of
get_loop_exit_edges.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110850 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r-- | gcc/tree-if-conv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index 97deb2843f2..557dffbc423 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -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); |