2014-08-04 Ed Schonberg <schonberg@adacore.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr47228.c
blob4ee7cab4dcd7accb1aeac8801d695b4b139e60c8
1 /* { dg-do run } */
2 /* { dg-require-effective-target int32plus } */
4 struct S4
6 unsigned f0:24;
7 } __attribute__((__packed__));
9 struct S4 g_10 = {
10 6210831
13 struct S4 func_2 (int x)
15 struct S4 l_8[2] = {
16 {0}, {0}
18 g_10 = l_8[1];
19 for (; x<2; x++) {
20 struct S4 tmp = {
21 11936567
23 l_8[x] = tmp;
25 return g_10;
28 int main (void)
30 func_2 (0);
31 return 0;