Automatic function inlining and multifile
compilation
If you are compiling with the --multifile option,
which in RVCT 4.0 is enabled by default at -O3 level,
or --ltcg, it is possible for the compiler to
perform automatic inlining for calls to functions that are defined
in other translation units. --multifile is disabled
by default in ARM Compiler 4.1 and later, regardless of the optimization
level.
For --multifile, both translation units
must be compiled in the same invocation of the compiler. For --ltcg,
they are required only to be linked together.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.