]> git.ipfire.org Git - thirdparty/gcc.git/blob
f4fb12dd4e2
[thirdparty/gcc.git] /
1 /* { dg-do compile } */
2 /* { dg-options "-fcf-protection -mcet" } */
3 /* { dg-require-ifunc "" } */
4
5 __attribute__((target_clones("avx","arch=slm","arch=core-avx2","default")))
6 int
7 foo ()
8 {
9 return -2;
10 } /* { dg-error "requires Intel CET support" } */