PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr36093.c
blob9549bc306b96fff9a8946cc5beb706e465e550fd
1 extern void abort (void);
3 typedef struct Bar {
4 char c[129];
5 } Bar __attribute__((__aligned__(128)));
7 typedef struct Foo {
8 Bar bar[4];
9 } Foo;
11 Foo foo[4];
13 int main()
15 int i, j;
16 Foo *foop = &foo[0];
18 for (i=0; i < 4; i++) {
19 Bar *bar = &foop->bar[i];
20 for (j=0; j < 129; j++) {
21 bar->c[j] = 'a' + i;
25 if (foo[0].bar[3].c[128] != 'd')
26 abort ();
27 return 0;