On 07/01/2016 08:29 AM, Jan Beulich wrote:
gcc/c/
2016-07-01 Jan Beulich
* c-fold.c (c_fully_fold_internal): Also emit shift count
warnings for vector types.
* c-typeck.c (build_binary_op): Likewise.
gcc/testsuite/
2016-07-01 Jan Beulich
* gcc.dg/vshift-6.
On Fri, 1 Jul 2016, Jan Beulich wrote:
gcc/c/
2016-07-01 Jan Beulich
* c-fold.c (c_fully_fold_internal): Also emit shift count
warnings for vector types.
* c-typeck.c (build_binary_op): Likewise.
Hello,
I just wanted to advertise the function element_precision, who
gcc/c/
2016-07-01 Jan Beulich
* c-fold.c (c_fully_fold_internal): Also emit shift count
warnings for vector types.
* c-typeck.c (build_binary_op): Likewise.
gcc/testsuite/
2016-07-01 Jan Beulich
* gcc.dg/vshift-6.c, gcc.dg/vshift-7.c: New.
--- 2016-06-30/gc
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
>>> 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
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
int_const = false;
+ if (c_inhibit_evaluation_warnings == 0)
+ warning_at (location, OPT_Wshift_count_overflow,
+ "left shift count >= width of vector
element");
+ }
+