Debian Codegraph @

gcc/testsuite/gcc.target/i386/avx-vnni-4.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=x86-64" } */
3
4 __attribute__ ((__gnu_inline__, __always_inline__, target("avx512vnni,avx512vl")))
5 inline int
6 foo (void) /* { dg-error "inlining failed in call to 'always_inline' .* target specific option mismatch" } */
7 {
8 return 0;
9 }
10
11 __attribute__ ((target("avxvnni")))
12 int
13 bar (void)
14 {
15 return foo (); /* { dg-message "called from here" } */
16 }