From: Andrew Pinski Date: Thu, 13 May 2004 23:10:34 +0000 (+0000) Subject: tree-ssa-pre.c (execute_pre): Free ephi_use_pool and idfs_cache at the end of the... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15342341aa4ade477abe31ccba4333d6dfc2956b;p=gcc.git tree-ssa-pre.c (execute_pre): Free ephi_use_pool and idfs_cache at the end of the function. 2004-05-13 Andrew Pinski * tree-ssa-pre.c (execute_pre): Free ephi_use_pool and idfs_cache at the end of the function. From-SVN: r81815 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 16e8da7a6ec..d625a52f124 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,9 @@ 2004-05-13 Andrew Pinski - * tree-ssa-live (calculate_live_on_entry): Free saw_def + * tree-ssa-pre.c (execute_pre): Free ephi_use_pool and + idfs_cache at the end of the function. + + * tree-ssa-live.c (calculate_live_on_entry): Free saw_def at the end of the function. * tree-ssa-dce.c (perform_tree_ssa_dce): Free 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