Re: extend shift count warnings to vector types

2015-12-15 Thread Jeff Law
On 12/14/2015 01:29 AM, Jan Beulich wrote: On 11.12.15 at 21:40, wrote: On 12/11/2015 12:28 AM, Jan Beulich wrote: gcc/c/ 2015-12-10 Jan Beulich * c-fold.c (c_fully_fold_internal): Also emit shift count warnings for vector types. * c-typeck.c (build_binary_op): Like

Re: extend shift count warnings to vector types

2015-12-14 Thread Jan Beulich
>>> On 11.12.15 at 21:40, wrote: > On 12/11/2015 12:28 AM, Jan Beulich wrote: >> gcc/c/ >> 2015-12-10 Jan Beulich >> >> * c-fold.c (c_fully_fold_internal): Also emit shift count >> warnings for vector types. >> * c-typeck.c (build_binary_op): Likewise. > Needs testcases for the a

Re: extend shift count warnings to vector types

2015-12-11 Thread Jeff Law
On 12/11/2015 12:28 AM, Jan Beulich wrote: gcc/c/ 2015-12-10 Jan Beulich * c-fold.c (c_fully_fold_internal): Also emit shift count warnings for vector types. * c-typeck.c (build_binary_op): Likewise. Needs testcases for the added warnings. My additional concern here