Re: [PATCH] Fix substitute_and_fold ICE (PR tree-optimization/55331)

2012-11-27 Thread Richard Biener
On Mon, Nov 26, 2012 at 4:27 PM, Jakub Jelinek wrote: > On Mon, Nov 26, 2012 at 04:24:41PM +0100, Richard Biener wrote: >> On Thu, Nov 15, 2012 at 9:09 PM, Jakub Jelinek wrote: >> > On the following testcase substitute_and_fold ICEs because memmove >> > of length 1 on an empty class is optimized

Re: [PATCH] Fix substitute_and_fold ICE (PR tree-optimization/55331)

2012-11-26 Thread Jakub Jelinek
On Mon, Nov 26, 2012 at 04:24:41PM +0100, Richard Biener wrote: > On Thu, Nov 15, 2012 at 9:09 PM, Jakub Jelinek wrote: > > On the following testcase substitute_and_fold ICEs because memmove > > of length 1 on an empty class is optimized away, and this function wasn't > > prepared to handle that.

Re: [PATCH] Fix substitute_and_fold ICE (PR tree-optimization/55331)

2012-11-26 Thread Richard Biener
On Thu, Nov 15, 2012 at 9:09 PM, Jakub Jelinek wrote: > Hi! > > On the following testcase substitute_and_fold ICEs because memmove > of length 1 on an empty class is optimized away, and this function wasn't > prepared to handle that. > > Fixed thusly, bootstrapped/regtested on x86_64-linux and i68

[PATCH] Fix substitute_and_fold ICE (PR tree-optimization/55331)

2012-11-15 Thread Jakub Jelinek
Hi! On the following testcase substitute_and_fold ICEs because memmove of length 1 on an empty class is optimized away, and this function wasn't prepared to handle that. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk/4.7? 2012-11-15 Jakub Jelinek PR