10.89 #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)).


The default is #pragma inline.

Related reference
10.39 __attribute__((noinline)) function attribute
10.64 __attribute__((noinline)) constant variable attribute
10.25 __declspec(noinline)
8.106 --inline, --no_inline
Non-Confidential PDF file icon PDF version ARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.