1  /* { dg-additional-options "--param openacc-kernels=decompose" } */
       2  
       3  /* { dg-additional-options "-g" } */
       4  /* { dg-additional-options "-O1" } so that we may get some 'GIMPLE_DEBUG's.  */
       5  
       6  /* { dg-additional-options "-fopt-info-all-omp" } */
       7  
       8  /* { dg-additional-options "--param=openacc-privatization=noisy" } */
       9  
      10  extern int i;
      11  
      12  void
      13  f_acc_kernels (void)
      14  {
      15    /* { dg-bogus {sorry, unimplemented: 'gimple_debug' not yet supported} TODO { xfail c++ } .+1 } */
      16  #pragma acc kernels /* { dg-line l_compute1 } */
      17    /* { dg-note {variable 'i\.0' declared in block isn't candidate for adjusting OpenACC privatization level: not addressable} {} { xfail c++ } l_compute1 } */
      18    {
      19      /* { dg-bogus {note: beginning 'gang-single' part in OpenACC 'kernels' region} {w/ debug} { xfail c++ } .-1 } */
      20  
      21      /* { dg-note {forwarded loop nest in OpenACC 'kernels' region to 'parloops' for analysis} {} { target *-*-* } .+1 } */
      22  #pragma acc loop /* { dg-line l_loop_i1 } */
      23      /* { dg-note {variable 'i\.0' in 'private' clause isn't candidate for adjusting OpenACC privatization level: not addressable} {} { xfail c++ } l_loop_i1 } */
      24      /* { dg-note {variable 'i' in 'private' clause isn't candidate for adjusting OpenACC privatization level: not addressable} {} { xfail c++ } l_loop_i1 } */
      25      /* { dg-optimized {assigned OpenACC seq loop parallelism} {} { xfail c++ } l_loop_i1 } */
      26      for (i = 0; i < 2; ++i)
      27        ;
      28    }
      29  }