Debian Codegraph @

gcc/testsuite/gcc.dg/autopar/pr106737.c

raw
1 /* { dg-do compile { target fgraphite } } */
2 /* { dg-options "-O -floop-parallelize-all -ftree-parallelize-loops=2 -fno-tree-dce" } */
3
4 void
5 foo (int x)
6 {
7 int a[2];
8 int b, c = 0;
9
10 for (b = 0; b < 2; ++b)
11 a[b] = 0;
12 for (b = 0; b < 2; ++b)
13 a[b] = 0;
14
15 while (c < 1)
16 while (x < 1)
17 ++x;
18 }