| 1 |
/* PR ipa/83506 */ |
| 2 |
/* { dg-do compile { target pthread } } */ |
| 3 |
/* { dg-options "-O1 -ftree-parallelize-loops=2 -fno-ipa-pure-const" } */ |
| 4 |
|
| 5 |
unsigned int |
| 6 |
foo (unsigned int x, int y) |
| 7 |
{ |
| 8 |
while (y < 1) |
| 9 |
{ |
| 10 |
x *= 3; |
| 11 |
++y; |
| 12 |
} |
| 13 |
return x; |
| 14 |
} |