This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR54886
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 7 Dec 2012 14:09:52 +0100 (CET)
- Subject: [PATCH] Fix PR54886
This fixes PR54886 - ISL is anal about freeing all its memory.
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.
Richard.
2012-12-07 Richard Biener <rguenther@suse.de>
PR tree-optimization/54886
* graphite-sese-to-poly.c (build_loop_iteration_domains): Properly
free all memory.
Index: gcc/graphite-sese-to-poly.c
===================================================================
--- gcc/graphite-sese-to-poly.c (revision 194296)
+++ gcc/graphite-sese-to-poly.c (working copy)
@@ -1058,6 +1058,8 @@ build_loop_iteration_domains (scop_p sco
c = isl_constraint_set_constant (c, v);
inner = isl_set_add_constraint (inner, c);
}
+ else
+ isl_pw_aff_free (aff);
}
else
gcc_unreachable ();