1 /* PR tree-optimization/93582 */
2 /* { dg-do compile { target int32 } } */
3 /* { dg-options "-O2 -fdump-tree-fre1" } */
4 /* { dg-final { scan-tree-dump "return -1462729318;" "fre1" { target le } } } */
5 /* { dg-final { scan-tree-dump "return 1300568597;" "fre1" { target be } } } */
6
7 union U {
8 struct S { int a : 1, b : 7, c : 8, d : 11, e : 5; } s;
9 unsigned int i;
10 };
11 struct A { char a[8]; union U u; };
12 void bar (struct A *);
13
14 int
foo(void)15 foo (void)
16 {
17 struct A a;
18 bar (&a);
19 a.u.s.a = 0;
20 a.u.s.b = -51;
21 a.u.s.c = -123;
22 a.u.s.d = 208;
23 a.u.s.e = -11;
24 return a.u.i;
25 }
26