OSDN Git Service

* ipa-split.c (find_split_points): Free stack.
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Aug 2010 03:00:37 +0000 (03:00 +0000)
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Aug 2010 03:00:37 +0000 (03:00 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163048 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ipa-split.c

index ca7c071..e86fac8 100644 (file)
@@ -1,5 +1,9 @@
 2010-08-09  Nathan Froyd  <froydnj@codesourcery.com>
 
+       * ipa-split.c (find_split_points): Free stack.
+
+2010-08-09  Nathan Froyd  <froydnj@codesourcery.com>
+
        * tree.h (tree_node_kind) [perm_list_kind,temp_list_kind]: Delete.
        * tree.c (tree_node_kind): Delete corresponding entries.
 
index 9c738bf..6567d59 100644 (file)
@@ -903,6 +903,7 @@ find_split_points (int overall_time, int overall_size)
   ENTRY_BLOCK_PTR->aux = NULL;
   FOR_EACH_BB (bb)
     bb->aux = NULL;
+  VEC_free (stack_entry, heap, stack);
   BITMAP_FREE (current.ssa_names_to_pass);
 }