Re: [PATCH] Fix PR70941

2016-05-06 Thread Jakub Jelinek
On Fri, May 06, 2016 at 09:37:46AM +0200, Richard Biener wrote: > > The following completes the fix for PR67921 now that we have a testcase > for the non-pointer case. > > Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. The testcase (for obvious reasons) fails on -funsigned-char de

[PATCH] Fix PR70941

2016-05-06 Thread Richard Biener
The following completes the fix for PR67921 now that we have a testcase for the non-pointer case. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2016-05-06 Richard Biener PR middle-end/70941 * fold-const.c (split_tree): Always convert to the original