c++: wrong error due to std::initializer_list opt [PR116476]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-cost-model-1.c
blob1457e8f3625bfe008ea5fa55c4f47ecc4e5ec555
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O2 -ftree-vectorize -fvect-cost-model=cheap" } */
4 void
5 f (int *x, int *y)
7 for (unsigned int i = 0; i < 1024; ++i)
8 x[i] += y[i];
11 /* { dg-final { scan-tree-dump {LOOP VECTORIZED} vect { target { vect_int && vect_hw_misalign } } } } */