1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -ftree-vectorize" } */ 3 /* { dg-additional-options "-march=skylake-avx512" { target { i?86-*-* x86_64-*-* } } } */ 4 5 void fn1(char * b,char * d,int * c,int i)6fn1 (char *b, char *d, int *c, int i) 7 { 8 for (; i; i++, d++) 9 if (b[i]) 10 *d = c[i]; 11 } 12