On Mon, Sep 22, 2008 at 09:09:05AM -0500, Eljay Love-Jensen wrote: > > Under any circumstances, it would be unacceptable for me to have an > > inline function silently expanded to a "true" function. > > That can happen if the inline expansion is too big. > > You can guarantee that inline expansion using always_inline. Are you sure of this? Because the gcc documentation seems to imply that always_inline just forces inlining regardless of optimization options, it does not say that the function will be inlined if it is too big. Also, there is an option -Winline which warns when an inline function is not inlined. Jeroen.