summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog.graphite4
-rw-r--r--gcc/graphite-poly.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index 365f6e127ee..932bef74214 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,3 +1,7 @@
+2009-10-30 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-poly.c (pbb_remove_duplicate_pdrs): Free collapsed.
+
2009-10-28 Konrad Trifunovic <konrad.trifunovic@gmail.com>
* graphite-poly.c (print_permutation): New.
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index d76397a13d3..fa949cc9073 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -306,6 +306,7 @@ pbb_remove_duplicate_pdrs (poly_bb_p pbb)
if (!can_collapse_pdrs (pdr1, pdr2))
VEC_quick_push (poly_dr_p, collapsed, pdr1);
+ VEC_free (poly_dr_p, heap, collapsed);
PBB_PDR_DUPLICATES_REMOVED (pbb) = true;
}