Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr124891.c

raw
1 /* PR tree-optimization/124891 */
2 /* { dg-do compile } */
3
4 void
5 foo (int x, int y, int z, int *buf)
6 {
7 for (int i = 0; i < x; ++i)
8 for (int j = z; j < x-z; ++z)
9 buf[j + (y - z +i) * x] = buf[x];
10 }