blob: 12c342b987cb3a1e8e5a168b64343c7b57dbd4b6 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-additional-options "-O2" } */
#define N 1024
void
foo (int *x, int *y, int *z, int a)
{
int i;
#pragma omp simd if (simd: a > 2) aligned (x, y, z : 16)
for (i = 0; i < N; i++)
x[i] = y[i] + z[i];
}