1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -mforce-indirect-call" } */ 3 /* { dg-final { scan-assembler-times "(?:call|jmp)\[ \\t\]+\\*%" 3 } } */ 4 5 int x; 6 int y; 7 f1(void)8void __attribute__((noinline)) f1(void) 9 { 10 x++; 11 } 12 f3(void)13static __attribute__((noinline)) void f3(void) 14 { 15 y++; 16 } 17 f2()18void f2() 19 { 20 f1(); 21 f3(); 22 f1(); 23 } 24