2 // { dg-options "-O2" }
3 // { dg-additional-options "-msse2" { target sse2_runtime } }
4 // { dg-additional-options "-mavx" { target avx_runtime } }
10 bar (int &x, unsigned long long &y, short *&z)
18 __attribute__((noinline, noclone)) int
19 foo (unsigned long long &s, short *&t)
23 #pragma omp parallel for simd linear(r) linear(s:17ULL) linear(t:2)
24 for (i = 0; i < 1024; i++)
33 for (i = 0; i < 2048; i++)
35 unsigned long long s = 12;
38 for (i = 0; i < 1024; i++)
39 if (a[i] != 12 + 24 * i)
41 if (j != 1024 || s != 12 + 1024 * 17ULL || t != &b[2048])