Corrected date in changelog
[official-gcc.git] / gcc / testsuite / gcc.dg / store_merging_12.c
blob67f23449e9310d60793c6e7e402c82fa959001ef
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Wall" } */
4 struct S { unsigned int b1:1, b2:1, b3:1, b4:1, b5:1, b6:27; };
5 void bar (struct S *);
6 void foo (int x)
8 struct S s;
9 s.b2 = 1; s.b3 = 0; s.b4 = 1; s.b5 = 0; s.b1 = x; s.b6 = x; /* { dg-bogus "is used uninitialized in this function" } */
10 bar (&s);