1 /* PR rtl-optimization/69771 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target int32plus } */
4
5 unsigned char a = 5, c;
6 unsigned short b = 0;
7 unsigned d = 0x76543210;
8
9 void
10 foo (void)
11 {
12 c = d >> ~(a || ~b); /* { dg-warning "shift count is negative" } */
13 }