blob: d03cbba668fbdff75d2f190ec1629ef4502b404c [file] [log] [blame]
/* PR rtl-optimization/69771 */
/* { dg-do compile } */
/* { dg-require-effective-target int32plus } */
unsigned char a = 5, c;
unsigned short b = 0;
unsigned d = 0x76543210;
void
foo (void)
{
c = d >> ~(a || ~b); /* { dg-warning "shift count is negative" } */
}