OSDN Git Service

2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 May 2004 23:10:34 +0000 (23:10 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 13 May 2004 23:10:34 +0000 (23:10 +0000)
        * tree-ssa-pre.c (execute_pre): Free ephi_use_pool and
        idfs_cache at the end of the function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81815 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-pre.c

index 16e8da7..d625a52 100644 (file)
@@ -1,6 +1,9 @@
 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
 
-       * 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
index d3ae62c..76a9a56 100644 (file)
@@ -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