comparison gcc/testsuite/gcc.dg/pr69247.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
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 }