]>
Commit | Line | Data |
---|---|---|
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 |
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 | } |