1 /* { dg-do compile } */ 2 /* { dg-options "-O0 -mno-popcnt" } */ 3 4 inline int __attribute__ ((__gnu_inline__, __always_inline__, target("popcnt"))) foo()5foo () /* { dg-error "inlining failed in call to always_inline .* target specific option mismatch" } */ 6 { 7 return 0; 8 } 9 bar()10int bar() 11 { 12 return foo (); /* { dg-message "called from here" } */ 13 } 14