1 /* PR rtl-optimization/69764 */
2 /* { dg-do compile { target int32plus } } */
7 return a
>> ~6; /* { dg-warning "12:right shift count is negative" } */
11 fn2 (unsigned short a
)
13 return a
>> ~6; /* { dg-warning "12:right shift count is negative" } */
19 return a
>> ~6; /* { dg-warning "12:right shift count is negative" } */
25 return a
>> 0xff03; /* { dg-warning "12:right shift count >= width of type" } */
29 fn5 (unsigned short a
)
31 return a
>> 0xff03; /* { dg-warning "12:right shift count >= width of type" } */
37 return a
>> 0xff03; /* { dg-warning "12:right shift count >= width of type" } */