Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.c-torture / execute / 20041126-1.c
blob58855ae8c195a397a9afd884b96654107ba69572
1 extern int abs (int);
2 extern void abort (void);
4 void
5 check (int *p)
7 int i;
8 for (i = 0; i < 5; ++i)
9 if (p[i])
10 abort ();
11 for (; i < 10; ++i)
12 if (p[i] != i + 1)
13 abort ();
16 int
17 main (void)
19 int a[10] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
20 int i;
22 for (i = -5; i < 0; i++)
23 a[abs (i - 10) - 11] = 0;
24 check (a);
25 return 0;