summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-pre.c
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-05-13 23:10:34 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-05-13 16:10:34 -0700
commit15342341aa4ade477abe31ccba4333d6dfc2956b (patch)
treeaac22e0165b5a2c30f532aba32b1d97c440f4434 /gcc/tree-ssa-pre.c
parent623f4556de4ba117aef31e67326fcbf9152dbff6 (diff)
downloadgcc-15342341aa4ade477abe31ccba4333d6dfc2956b.tar.gz
tree-ssa-pre.c (execute_pre): Free ephi_use_pool and idfs_cache at the end of the function.
2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> * tree-ssa-pre.c (execute_pre): Free ephi_use_pool and idfs_cache at the end of the function. From-SVN: r81815
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r--gcc/tree-ssa-pre.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c
index d3ae62c9e56..76a9a56c7e2 100644
--- a/gcc/tree-ssa-pre.c
+++ b/gcc/tree-ssa-pre.c
@@ -3352,6 +3352,7 @@ execute_pre (void)
memset (&pre_stats, 0, sizeof (struct pre_stats_d));
free_alloc_pool (euse_node_pool);
free_alloc_pool (eref_node_pool);
+ free_alloc_pool (ephi_use_pool);
VARRAY_CLEAR (bexprs);
for (i = 0; i < currbbs; i++)
BITMAP_XFREE (pre_dfs[i]);
@@ -3362,6 +3363,7 @@ execute_pre (void)
BITMAP_XFREE (idfs_cache[i]);
free (dfn);
+ free (idfs_cache);
}
static bool