LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-73-big-array.c
blob1c9d1fdaf9a2bb4eee4e9e766e531b72a3ecef2c
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 128
9 int ic[N*2];
10 int ib[N];
12 #define ia (ic+N)
14 __attribute__ ((noinline))
15 int main1 ()
17 int i, j;
19 for (i = 0; i < N; i++)
21 ib[i] = i*3;
22 asm volatile ("" ::: "memory");
25 for (i = 0; i < N; i++)
27 ia[i] = ib[i];
30 /* check results: */
31 for (i = 0; i < N; i++)
33 if (ia[i] != ib[i])
34 abort ();
37 return 0;
40 int main (void)
42 check_vect ();
44 return main1 ();
47 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
48 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */