Debian Codegraph @

gcc/testsuite/gcc.dg/pr69247.c

raw
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 }