Re: [C/C++ PATCH] Handle rotates like shifts

2017-10-13 Thread Jeff Law
On 10/13/2017 01:30 PM, Jakub Jelinek wrote: > Hi! > > I've noticed that for {L,R}ROTATE_EXPR created during GENERIC folding > we end up with e.g. long int etc. second arguments, while for shifts > we truncate those to unsigned int. > > Fixed thusly, bootstrapped/regtested on x86_64-linux and i68

[C/C++ PATCH] Handle rotates like shifts

2017-10-13 Thread Jakub Jelinek
Hi! I've noticed that for {L,R}ROTATE_EXPR created during GENERIC folding we end up with e.g. long int etc. second arguments, while for shifts we truncate those to unsigned int. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2017-10-13 Jakub Jelinek