Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / vect / vect-15.c
blob37e6b06766d15bbfe334905a539bb7ae9f5435e7
1 /* { dg-require-effective-target vect_int } */
3 #include <stdarg.h>
4 #include "tree-vect.h"
6 #define N 16
8 int main1 ()
10 int i;
11 int a[N];
12 int b[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
14 /* Not vectorizable yet (reverse access and forward access). */
15 for (i = N; i > 0; i--)
17 a[N-i] = b[i-1];
20 /* check results: */
21 for (i = 0; i <N; i++)
23 if (a[i] != b[N-1-i])
24 abort ();
27 return 0;
30 int main (void)
32 check_vect();
34 return main1 ();
37 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
38 /* { dg-final { cleanup-tree-dump "vect" } } */