OSDN Git Service

2009-10-30 Sebastian Pop <sebastian.pop@amd.com>
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:26:40 +0000 (05:26 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Nov 2009 05:26:40 +0000 (05:26 +0000)
* graphite-poly.c (pbb_remove_duplicate_pdrs): Free collapsed.

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

gcc/ChangeLog.graphite
gcc/graphite-poly.c

index 365f6e1..932bef7 100644 (file)
@@ -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.
 2009-10-28  Konrad Trifunovic  <konrad.trifunovic@gmail.com>
 
        * graphite-poly.c (print_permutation): New.
index d76397a..fa949cc 100644 (file)
@@ -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);
 
       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;
 }
 
   PBB_PDR_DUPLICATES_REMOVED (pbb) = true;
 }