Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/libgomp/testsuite/libgomp.c/pr95620.c
2023-03-06 14:48:14 +01:00

18 lines
314 B
C

// { dg-do link { target { { i?86-*-* x86_64-*-* } && lp64 } } }
/* { dg-require-effective-target lto } */
/* { dg-additional-options "-flto -mcmodel=medium" } */
double a[353783808];
int b, c, d;
int
main()
{
for (; b;)
#pragma omp parallel
a[c] = 1;
for (;; b++)
if (a[c])
d++;
return 0;
}