summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-10 03:00:37 +0000
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-10 03:00:37 +0000
commit84b536753001ff40e95bf6d5d140ed1baadb30d4 (patch)
treefe0e5ecb4cb1114a99958bd39d2e682ddb759398 /gcc
parent599134f1e90dcc6c8eb4ac9d7398a296d6bf7bd2 (diff)
downloadgcc-84b536753001ff40e95bf6d5d140ed1baadb30d4.tar.gz
* ipa-split.c (find_split_points): Free stack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163048 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/ipa-split.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ca7c0710b57..e86fac8ab0d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c
index 9c738bf0c66..6567d59c1a4 100644
--- a/gcc/ipa-split.c
+++ b/gcc/ipa-split.c
@@ -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);
}