view gcc/testsuite/c-c++-common/gomp/pr67517.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
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;
}