2.1.7. --[no_]autoinline

This option enables or disables automatic inlining of functions.

The compiler automatically inlines functions where it is sensible to do so. The -Ospace and -Otime options, together with some other factors such as function size, influence how the compiler automatically inlines functions.

Selecting -Otime, in combination with various other factors, increases the likelihood that functions are inlined.

Default

For optimization levels -O0 and -O1, the default is --no_autoinline.

For optimization levels -O2 and -O3, the default is --autoinline.

See also

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