Re: [committed] Fix predcom (PR tree-optimization/59745)

2014-01-12 Thread Jakub Jelinek
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 > > > > PR tree-optimization/59745 > > * tree-p

Re: [committed] Fix predcom (PR tree-optimization/59745)

2014-01-12 Thread Richard Biener
On Fri, Jan 10, 2014 at 9:41 PM, Jakub Jelinek wrote: > Hi! > > split_data_refs_to_components used the name_expansions affine cache > through determine_offset, and since my patch uses it even more often, > but if it returns NULL, we don't free the cache and it can contain garbage > next time we pe

[committed] Fix predcom (PR tree-optimization/59745)

2014-01-10 Thread Jakub Jelinek
Hi! split_data_refs_to_components used the name_expansions affine cache through determine_offset, and since my patch uses it even more often, but if it returns NULL, we don't free the cache and it can contain garbage next time we perform tree_predictive_commoning_loop. Bootstrapped/regtested on x