1  /* PR debug/105630 */
       2  /* { dg-do compile { target pthread } } */
       3  /* { dg-options "-O1 -ftree-parallelize-loops=2 -fcompare-debug" } */
       4  
       5  int m;
       6  static int n;
       7  
       8  void
       9  foo (void)
      10  {
      11    int *arr[] = { &n, &n, &n };
      12    int unused = n;
      13  
      14    m = 0;
      15  }
      16  
      17  void
      18  bar (int *arr, int i)
      19  {
      20    while (i < 1)
      21      arr[i++] = 1;
      22  }