]>
Commit | Line | Data |
---|---|---|
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 | ||
6 | union 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 | ||
11 | int | |
12 | foo (void) | |
13 | { | |
14 | union U u; | |
15 | u.s.b = 10; | |
16 | return u.t.e; | |
17 | } |