1  /* { dg-options "" } */
       2  int main() {
       3    int t = 1;
       4    unsigned c = 0, d1 = t ? 1 ^ c ^ 1 >> (-1) : 0; /* { dg-warning "is negative"  } */
       5    return d1;
       6  }
       1  /* { dg-options "" } */
       2  int main() {
       3    int t = 1;
       4    unsigned c = 0, d1 = t ? 1 ^ c ^ 1 >> (-1) : 0; /* { dg-warning "is negative"  } */
       5    return d1;
       6  }