Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/pr93582-2.c

raw
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 593;" "fre1" } } */
5
6 union U {
7 struct S { int a : 1, b : 14, c : 17; } s;
8 struct T { int d : 2; int e : 12; int f : 18; } t;
9 };
10
11 int
12 foo (void)
13 {
14 union U u;
15 u.s.b = -7005;
16 return u.t.e;
17 }