comparison 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
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* PR middle-end/67517 */
2 /* { dg-do compile } */
3 /* { dg-options "-fopenmp" } */
4
5 int
6 foo (int x, int y, int z)
7 {
8 int i;
9 #pragma omp parallel for simd linear (y : x & 15) linear (x : 16) linear (z : x & 15)
10 for (i = 0; i < 256; ++i)
11 x += 16, y += x & 15, z += x & 15;
12 return x + y + z;
13 }