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 <rguent...@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 ();