Re: [PATCH] combine: Fix for PR67028

2015-08-18 Thread Segher Boessenkool
On Fri, Aug 07, 2015 at 06:43:28PM -0700, Segher Boessenkool wrote: > Bootstrapped and tested on powerpc64-linux. Applying to trunk; will > backport it in a week or so. I did that now (5 and 4.9). The patch needed a teeny bit of wiggling because the older branches still have #ifdef WORD_REGISTER

[PATCH] combine: Fix for PR67028

2015-08-07 Thread Segher Boessenkool
The transformation /* If this is (and:M1 (subreg:M1 X:M2 0) (const_int C1)) where C1 fits in both M1 and M2 and the SUBREG is either paradoxical or represents the low part, permute the SUBREG and the AND and try again. */ in the paradoxical case (