Re: [PATCH] Fix a few UB when left-shifting

2015-09-09 Thread Jeff Law
On 09/04/2015 05:03 AM, Marek Polacek wrote: This patch fixes a few -Wshift-negative-value warnings in the code. It oughtn't to cause any functional changes. This will be needed for the bootstrap to pass after I commit some other patch. Bootstrapped/regtested on x86_64-linux, ok for trunk? 20

[PATCH] Fix a few UB when left-shifting

2015-09-04 Thread Marek Polacek
This patch fixes a few -Wshift-negative-value warnings in the code. It oughtn't to cause any functional changes. This will be needed for the bootstrap to pass after I commit some other patch. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2015-09-03 Marek Polacek * c-common.c