4.4.2. When is it practical for the compiler to inline?

The compiler decides for itself when it is practical to inline a function or not, depending on a number of conditions, including:

Ultimately, the compiler can decide not to inline a function, even if the function is qualified with __forceinline. As a general rule:

Copyright © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0205H