Re: [PATCH][2/2] gimple-fold.c part for PR83141

2017-11-28 Thread Richard Biener
On Mon, 27 Nov 2017, Richard Biener wrote: > > The following is the truly minimal fix for the middle-end issue > with SRA and memcpy folding interaction. I've tried more variants > that "make sense" but as they all end up folding slightly more > memcpy calls than before we run into optimization

[PATCH][2/2] gimple-fold.c part for PR83141

2017-11-27 Thread Richard Biener
The following is the truly minimal fix for the middle-end issue with SRA and memcpy folding interaction. I've tried more variants that "make sense" but as they all end up folding slightly more memcpy calls than before we run into optimization testcase regressions in places that look for __builtin