On Sun, Jan 12, 2014 at 02:24:22PM +0100, Richard Biener wrote: > Uh. Is this also applicable to branches?
In theory yes, I don't have a testcase that can trigger it though. I'll apply it to 4.8 soon. > > 2014-01-10 Jakub Jelinek <ja...@redhat.com> > > > > PR tree-optimization/59745 > > * tree-predcom.c (tree_predictive_commoning_loop): Call > > free_affine_expand_cache if giving up because components is NULL. > > > > --- gcc/tree-predcom.c.jj 2014-01-07 08:48:34.000000000 +0100 > > +++ gcc/tree-predcom.c 2014-01-10 10:08:04.476340865 +0100 > > @@ -2447,6 +2447,7 @@ tree_predictive_commoning_loop (struct l > > if (!components) > > { > > free_data_refs (datarefs); > > + free_affine_expand_cache (&name_expansions); > > return false; > > } > > > > > > Jakub Jakub