PR tree-optimization/93683 - ICE on calloc with unused return value in ao_ref_init_fr...
[gcc.git] / gcc / testsuite / gcc.dg / pr69247.c
1 /* PR target/69247 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4 /* { dg-additional-options "-march=zEC12" { target s390*-*-* } } */
5
6 void foo (short *);
7
8 void
9 bar (short x, int y)
10 {
11 if (y)
12 x = x << 8 | (unsigned short) x >> 8;
13 foo (&x);
14 }