Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/gomp/pr67517.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/67517 */ /* { dg-do compile } */ /* { dg-options "-fopenmp" } */ int foo (int x, int y, int z) { int i; #pragma omp parallel for simd linear (y : x & 15) linear (x : 16) linear (z : x & 15) for (i = 0; i < 256; ++i) x += 16, y += x & 15, z += x & 15; return x + y + z; }