Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git] / gcc / testsuite / gcc.dg / pr69956.c
blob37d24d4a94bd1d3195bf5b0e6226a611ea0fbf00
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize" } */
3 /* { dg-additional-options "-march=skylake-avx512" { target { i?86-*-* x86_64-*-* } } } */
5 void
6 fn1 (char *b, char *d, int *c, int i)
8 for (; i; i++, d++)
9 if (b[i])
10 *d = c[i];