LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-123.c
blob210da1e4bcaa9df91878bbd042bf0ed69f7f4db0
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
4 int x[4092];
5 int y[1024];
7 void foo (int s)
9 int i, j;
10 for (i = 0, j = 0; j < 1023; i += s, j++)
11 y[j] += x[i];
14 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */