9.85 #pragma inline, #pragma no_inline

These pragmas control inlining, similar to the --inline and --no_inline command-line options.

A function defined under #pragma no_inline is not inlined into other functions, and does not have its own calls inlined.
The effect of suppressing inlining into other functions can also be achieved by marking the function as __declspec(noinline) or __attribute__((noinline)).

Default

The default is #pragma inline.
Related reference
9.39 __attribute__((noinline)) function attribute
9.62 __attribute__((noinline)) constant variable attribute
9.25 __declspec(noinline)
7.80 --inline, --no_inline
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.