Let tree_single_nonzero_warnv_p use range information
[official-gcc.git] / gcc / testsuite / gcc.dg / pr69247.c
blobb7406e6822329af54e44f1038c8e8b66c1b7ffca
1 /* PR target/69247 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* { dg-additional-options "-march=zEC12" { target s390*-*-* } } */
6 void foo (short *);
8 void
9 bar (short x, int y)
11 if (y)
12 x = x << 8 | (unsigned short) x >> 8;
13 foo (&x);