Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr90500-2.c

raw
1 /* PR middle-end/84723 */
2 /* { dg-do compile } */
3 /* { dg-require-ifunc "" } */
4
5 __attribute__((target_clones("arch=haswell", "default"))) int __tanh() {}
6 __typeof(__tanh) tanhf64 __attribute__((alias("__tanh"),target_clones("arch=haswell", "default"))); /* { dg-error "clones for .target_clones. attribute cannot be created" } */
7 /* { dg-message "'target_clones' cannot be combined with 'alias' attribute" "" { target *-*-* } .-1 } */