Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20060905-1.c
blobeac884fe5f6c9e16dd15624c29a7c2b152390621
1 /* PR rtl-optimization/28386 */
2 /* Origin: Volker Reichelt <reichelt@gcc.gnu.org> */
4 extern void abort(void);
6 volatile char s[256][3];
8 char g;
10 static void dummy(char a)
12 g = a;
15 static int foo(void)
17 int i, j=0;
19 for (i = 0; i < 256; i++)
20 if (i >= 128 && i < 256)
22 dummy (s[i - 128][0]);
23 ++j;
26 return j;
29 int main(void)
31 if (foo () != 128)
32 abort ();
34 return 0;