]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/cilk-plus/SE/ef_error2.c
[Patch AArch64] Fixup floating point division with -march=armv8-a+nosimd
[thirdparty/gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / SE / ef_error2.c
1 /* The warning is x86-only. */
2 /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
3 /* { dg-options "-fcilkplus -Wall" } */
4
5 __attribute__((vector (vectorlength(128))))
6 //#pragma omp simd simdlen (128)
7 int func2 (int x, int y) /* { dg-warning "unsupported simdlen" } */
8 {
9 return (x+y);
10 }
11
12 int main (void)
13 {
14 return (func2 (5,6));
15 }