Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/gomp/pr61486-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* PR middle-end/61486 */ /* { dg-do compile } */ /* { dg-options "-fopenmp" } */ int foo (int *a) { int i, j = 0; #pragma omp target teams distribute simd linear(i) map(a[:10]) for (i = 0; i < 10; i++) a[i] = j; return i; }