(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
graphite/
pr81945.c
       1  /* PR tree-optimization/81945 */
       2  /* { dg-do compile { target pthread } } */
       3  /* { dg-options "-O3 -ftree-parallelize-loops=2 -floop-nest-optimize" } */
       4  
       5  unsigned long int v;
       6  
       7  void
       8  foo (int x, int y, long int *a)
       9  {
      10    do
      11      {
      12        int **b;
      13  
      14        while (y != 0)
      15          ;
      16        v *= 2;
      17        **b = *a;
      18        ++x;
      19      }
      20    while (x < 1);
      21  }