Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-73.c
blobfdb49b86362774b0fdf3e10e918b7d73f3383dd7
1 /* { dg-require-effective-target vect_int } */
2 /* { dg-add-options bind_pic_locally } */
4 #include <stdarg.h>
5 #include "tree-vect.h"
7 #define N 16
9 int ic[N*2];
10 int ib[N] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
12 #define ia (ic+N)
14 __attribute__ ((noinline))
15 int main1 ()
17 int i, j;
19 for (i = 0; i < N; i++)
21 ia[i] = ib[i];
24 /* check results: */
25 for (i = 0; i < N; i++)
27 if (ia[i] != ib[i])
28 abort();
31 return 0;
34 int main (void)
36 check_vect ();
38 return main1 ();
41 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
42 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */