Rebase.
[official-gcc.git] / gcc / testsuite / gcc.target / s390 / 20041109-1.c
blobbf768439cd1187e6efdd834e0ddb75cc3176310d
1 /* This used to ICE due to a literal pool handling bug on s390x. */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -fno-omit-frame-pointer" } */
6 static struct table { int x; } table[3];
8 int test (void)
10 struct table *t;
12 for (t = table; t < &table[3]; t++)
13 asm volatile ("" : : : "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "12");
15 for (t = table; t < &table[3]; t++)
16 if (t->x)
17 return 1;
19 return 0;