4.6.12. #pragma [no_]inline

This pragma controls inlining, similar to the --[no_]inline command-line option. 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.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential