]> git.ipfire.org Git - thirdparty/gcc.git/blame - 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
CommitLineData
713dedcd 1/* The warning is x86-only. */
41958c28
BI
2/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
3/* { dg-options "-fcilkplus -Wall" } */
4
6512fa6d
JJ
5__attribute__((vector (vectorlength(128))))
6//#pragma omp simd simdlen (128)
41958c28
BI
7int func2 (int x, int y) /* { dg-warning "unsupported simdlen" } */
8{
9 return (x+y);
10}
11
12int main (void)
13{
14 return (func2 (5,6));
15}