1 /* PR tree-optimization/78428.  */
2 /* { dg-options "-O2" } */
3 /* { dg-do run { target int32plus } } */
4 
5 struct S0
6 {
7   int f2;
8   int f3:16;
9   int f4:18;
10 } ;
11 
12 int a = 5;
13 struct S0 b = { 3, 0, 0 };
14 static struct S0 global[2] = { { 77, 0, 78 }, { 77, 0, 78 } };
15 
main()16 int main ()
17 {
18   volatile struct S0 *j;
19   for (; a;)
20     {
21       __builtin_printf ("", b.f2);
22       j = &b;
23       *j = global[1];
24       a--;
25     }
26   return 0;
27 }
28