1 /* { dg-do compile } */
2 /* { dg-require-effective-target pthread } */
3 /* { dg-options "-O2 -ftree-parallelize-loops=2 -fno-tree-loop-im" } */
4
5 extern int *b, *e[8], d;
6
7 void
foo(void)8 foo (void)
9 {
10 int i;
11 for (i = 0; i < 8; ++i)
12 while (--d)
13 e[i] = 0;
14 }
15