Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/c-c++-common/cilk-plus/SE/ef_error2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 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 } |