PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / pr81945.c
blob0dc6619512040494ba5171e80f55ca2f285e589a
1 /* PR tree-optimization/81945 */
2 /* { dg-do compile { target pthread } } */
3 /* { dg-options "-O3 -ftree-parallelize-loops=2 -floop-nest-optimize" } */
5 unsigned long int v;
7 void
8 foo (int x, int y, long int *a)
12 int **b;
14 while (y != 0)
16 v *= 2;
17 **b = *a;
18 ++x;
20 while (x < 1);