1  // { dg-do link { target { { i?86-*-* x86_64-*-* } && lp64 } } }
       2  /* { dg-require-effective-target lto } */
       3  /* { dg-additional-options "-flto -mcmodel=medium" } */
       4  
       5  double a[353783808];
       6  int b, c, d;
       7  
       8  int
       9  main()
      10  {
      11    for (; b;)
      12  #pragma omp parallel
      13      a[c] = 1;
      14    for (;; b++)
      15      if (a[c])
      16        d++;
      17    return 0;
      18  }