gcc/testsuite/c-c++-common/gomp/pr67517.c
raw| 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 | } |