* gcc.target/i386/pr70021.c: Add -mtune=skylake.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / inline_error.c
blob18e506631ebffde0e8b85f7a157f4931c45417fe
1 /* { dg-do compile } */
2 /* { dg-options "-O0 -mno-popcnt" } */
4 inline int __attribute__ ((__gnu_inline__, __always_inline__, target("popcnt")))
5 foo () /* { dg-error "inlining failed in call to always_inline .* target specific option mismatch" } */
7 return 0;
10 int bar()
12 return foo (); /* { dg-message "called from here" } */