summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/simd-clones-5.c
blob: 801c24f34affdfea7f73cd9e4d1aeced3224066a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-fopenmp -w" } */

/* ?? The -w above is to inhibit the following warning for now:
   a.c:2:6: warning: AVX vector argument without AVX enabled changes
   the ABI [enabled by default].  */

#pragma omp declare simd notinbranch simdlen(4)
void foo (int *a)
{
  *a = 555;
}