8.83 --forceinline

Forces all inline functions to be treated as if they are qualified with __forceinline.

Inline functions are functions that are qualified with inline or __inline. In C++, inline functions are functions that are defined inside a struct, class, or union definition.

If you use --forceinline, the compiler always attempts to inline those functions, if possible. However, it does not inline a function if doing so causes problems. For example, a recursive function is inlined into itself only once.

__forceinline behaves like __inline except that the compiler tries harder to do the inlining.

Related reference
8.106 --inline, --no_inline
10.8 __inline
10.6 __forceinline
10.32 __attribute__((always_inline)) function attribute
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.