Re: [PATCH] Fix fold_binary RROTATE_EXPR opts (PR middle-end/71693)

2016-06-30 Thread Richard Biener
On Wed, 29 Jun 2016, Jakub Jelinek wrote: > Hi! > > This issue is latent on the trunk/6.2, fails with checking in 5.x/4.9. > As usually in fold_*_loc, arg0/arg1 is STRIP_NOPS op0/op1, so might have > incompatible type, so we need to convert it to the right type first > before optimizing. > > Boo

[PATCH] Fix fold_binary RROTATE_EXPR opts (PR middle-end/71693)

2016-06-29 Thread Jakub Jelinek
Hi! This issue is latent on the trunk/6.2, fails with checking in 5.x/4.9. As usually in fold_*_loc, arg0/arg1 is STRIP_NOPS op0/op1, so might have incompatible type, so we need to convert it to the right type first before optimizing. Bootstrapped/regtested on x86_64-linux/i686-linux, ok everywhe