Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / align-nest.c
blob5298b09366d051316934652442da77a2d7b3e18c
1 /* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
3 void foo(int n)
5 typedef struct
7 int value;
8 } myint;
10 struct S
12 int i[n];
13 unsigned int b:1;
14 myint mi;
15 } __attribute__ ((packed)) __attribute__ ((aligned (4)));
17 struct S s[2];
18 int k;
20 for (k = 0; k < 2; k ++)
21 s[k].mi.value = 0;
24 int main ()
26 foo (2);
27 return 0;