]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/pr90733.c
re PR debug/90733 (ICE in simplify_subreg, at simplify-rtx.c:6440)
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr90733.c
1 /* PR debug/90733 */
2 /* { dg-do compile } */
3 /* { dg-options "-g -O2 -w" } */
4
5 struct S { unsigned a : 1; };
6 union U { struct S b; _Complex unsigned c; };
7
8 union U
9 foo (union U d)
10 {
11 union U e = d;
12 return e;
13 }
14
15 int
16 bar (void)
17 {
18 union U x, y;
19 x.c = x.b.a;
20 y = foo (x);
21 return x.c != y.c;
22 }