Forum Discussion
Altera_Forum
Honored Contributor
15 years agoTry adding __attribute__((noinline)) to the function prototype. As in:
static void foo(void) __attribute__((noinline));
static void foo(void)
{
....
}That will force a function call. You might have the code body existing for any external calls - with the local call being inlined.