comparison gcc/testsuite/g++.target/i386/mvc3.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do compile } */
2 /* { dg-require-ifunc "" } */
3
4 __attribute__((target("avx")))
5 __attribute__((target_clones("avx","arch=slm","default")))
6 int foo (); /* { dg-warning "'target_clones' attribute ignored due to conflict with 'target' attribute" } */
7
8 __attribute__((always_inline,target_clones("avx","arch=slm","default")))
9 int bar (); /* { dg-warning "'target_clones' attribute ignored due to conflict with 'always_inline' attribute" } */