libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-cost-model-4.c
blobbb018ad99fe38387c4b1bfdef069057505ea969d
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O2 -ftree-vectorize -fvect-cost-model=very-cheap" } */
4 int x[1024], y[1024];
6 void
7 f (void)
9 for (unsigned int i = 0; i < 1024; ++i)
10 x[i] += y[i];
13 /* { dg-final { scan-tree-dump {LOOP VECTORIZED} vect { target vect_int } } } */