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