blob: 6ecf598708a3d931cdd022f2983453562e44b317 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -mforce-indirect-call" } */
/* { dg-final { scan-assembler-times "(?:call|jmp)\[ \\t\]+\\*%" 3 } } */
int x;
int y;
void __attribute__((noinline)) f1(void)
{
x++;
}
static __attribute__((noinline)) void f3(void)
{
y++;
}
void f2()
{
f1();
f3();
f1();
}