1 /* { dg-options "-O2" }  */
2 
3 struct A {
4   unsigned int f1 : 3;
5   unsigned int f2 : 3;
6   unsigned int f3 : 1;
7   unsigned int f4 : 1;
8 
9 };
10 
init_A(struct A * this)11 void init_A (struct A *this)
12 {
13   this->f1 = 0;
14   this->f2 = 1;
15   this->f3 = 0;
16   this->f4 = 0;
17 }
18 
19 /* { dg-final { scan-assembler-times "str" 1 } } */
20