gcc/testsuite/gcc.dg/gomp/simd-clones-5.c
raw| 1 | /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ |
| 2 | /* { dg-options "-fopenmp -w" } */ |
| 3 | |
| 4 | /* ?? The -w above is to inhibit the following warning for now: |
| 5 | a.c:2:6: warning: AVX vector argument without AVX enabled changes |
| 6 | the ABI. */ |
| 7 | |
| 8 | #pragma omp declare simd notinbranch simdlen(4) |
| 9 | void foo (int *a) |
| 10 | { |
| 11 | *a = 555; |
| 12 | } |