libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr116628.c
bloba38ffb33365a1895b3d3e2896e23c0c06a58331a
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
3 /* { dg-require-effective-target vect_masked_store } */
4 /* { dg-additional-options "-Ofast -mcpu=neoverse-v2" { target aarch64-*-* } } */
6 typedef float c;
7 c a[2000], b[0];
8 void d() {
9 for (int e = 0; e < 2000; e++)
10 if (b[e])
11 a[e] = b[e];
14 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } } */