libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr83202-1.c
blobac12f079839ba5b86efa8ba9ed3dc23bb48c40e7
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_double } */
4 void test(double data[16][16])
6 for (int i = 0; i < 16; i++)
8 for (int j = 0; j < i; j+=4)
10 data[i][j] *= data[i][j];
11 data[i][j+1] *= data[i][j+1];
12 data[i][j+2] *= data[i][j+2];
13 data[i][j+3] *= data[i][j+3];
18 /* { dg-final { scan-tree-dump "Loop contains only SLP stmts" "vect" } } */
19 /* { dg-final { scan-tree-dump "ectorized 1 loops" "vect" } } */