Fix warnings occured during profiledboostrap on
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / memtst.c
blobb5ef2607073fbb38a99411dfa9f2740747aa8296
1 #ifdef STACK_SIZE
2 #define SIZE STACK_SIZE / 8
3 #else
4 #define SIZE 65536
5 #endif
7 memtst (int *p, int a)
9 do
11 if (p[a] == 1)
12 break;
14 while (--a);
17 main ()
19 int a[SIZE];
20 int i;
21 bzero (a, SIZE * 4);
22 for (i = 0; i < 100; i++)
24 memtst (a, SIZE);