5.24 Automatic function inlining and multifile compilation

If you are compiling with the --multifile option, the compiler can perform automatic inlining for calls to functions that are defined in other translation units.

In RVCT 4.0 the --multifile option is enabled by default at -O3 level.

In ARM Compiler 4.1 and later the --multifile option is disabled by default, regardless of the optimization level.

For --multifile, both translation units must be compiled in the same invocation of the compiler.

Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.