]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/pr93582-1.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr93582-1.c
CommitLineData
8aba425f
JJ
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 1;" "fre1" } } */
5
6union U {
7 struct S { int a : 1, b : 4, c : 27; } s;
8 struct T { int d : 2; int e : 2; int f : 28; } t;
9};
10
11int
12foo (void)
13{
14 union U u;
15 u.s.b = 10;
16 return u.t.e;
17}