blob: 536c1de96c5b1c81cc9e53ba51bea0f93d72229d [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -march=x86-64" } */
__attribute__ ((__gnu_inline__, __always_inline__, target("avxifma")))
inline int
foo (void) /* { dg-error "inlining failed in call to 'always_inline' .* target specific option mismatch" } */
{
return 0;
}
__attribute__ ((target("avx512ifma,avx512vl")))
int
bar (void)
{
return foo (); /* { dg-message "called from here" } */
}