Debian Codegraph @

gcc/testsuite/gcc.dg/vect/pr111915.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fno-tree-vrp -fno-tree-dominator-opts -fno-tree-ccp" } */
3
4 void
5 foo (int * __restrict a, int * __restrict b, int * __restrict w)
6 {
7 for (int i = 0; i < 16; ++i)
8 {
9 *a += w[2*i+0];
10 *b += w[2*i&1];
11 }
12 }