Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20100708-1.c
blob590a94a70b7c6c71ef1b02275a76f1364688ac26
1 /* PR middle-end/44843 */
2 /* Verify that we don't use the alignment of struct S for inner accesses. */
4 struct S
6 double for_alignment;
7 struct { int x, y, z; } a[16];
8 };
10 void f(struct S *s) __attribute__((noinline));
12 void f(struct S *s)
14 unsigned int i;
16 for (i = 0; i < 16; ++i)
18 s->a[i].x = 0;
19 s->a[i].y = 0;
20 s->a[i].z = 0;
24 int main (void)
26 struct S s;
27 f (&s);
28 return 0;