Paulo J. Matos wrote: > This case is interesting because it seems that callee is being inlined > into caller. Still intriguing is that the same happens with: -Os > -fno-inline -fno-inline-small-functions > -fno-inline-functions-called-once
There are loads of other inline-related -f options apart from those, and they interact in complicated ways. I think if you use attributes (always_inline or noinline) on the function in question they are meant to trump everything else. cheers, DaveK