OSDN Git Service

* gcc.dg/pr31344.c: Move to ...
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20040217-1.c
1 /* This used to ICE on s390x due to a bug in simplify_if_then_else.  */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
4
5 extern void use (int);
6 void test (void)
7 {
8   union 
9    {
10      unsigned long ul;
11      signed char sc;
12    } u;
13
14   u.sc = 8;
15   u.sc &= 25;
16
17   use (u.sc);
18 }
19