Debian Codegraph @

gcc/testsuite/gcc.dg/pr69956.c

raw
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
6 fn1 (char *b, char *d, int *c, int i)
7 {
8 for (; i; i++, d++)
9 if (b[i])
10 *d = c[i];
11 }