Everything

-inline


< Compile Options / Optimize Options >

[Format]

-inline[=<numeric value>]

 

-

[Default]

The default for this option is inline=100.

[Description]

-

These options specify whether to automatically perform inline expansion of functions.

-

A value from 0 to 65535 is specifiable as <numeric value>.

-

When the inline option is specified, the compiler automatically performs inline expansion. However, inline expansion is not performed for the functions specified by #pragma noinline. The user is able to use inline=<numeric value>, to specify the allowed increase in the function's size due to the use of inline expansion. For example, when inline=100 is specified, inline expansion will be performed until the function size has increased by 100% (size is doubled).

-

The default for this option is determined based on the optimize option and speed or size option specifications. For details, refer to the speed or size option.

[Remarks]

-

Expansion is attempted for the functions with #pragma inline specified regardless of the specification of this option. The inline function specifier (C99) is effective only when this option is valid.

-

To perform inline expansion for a function for certain, specify #pragma inline for the function.

-

Even though this option has been selected or an inline specifier has been specified for the function, if the compiler judges that the efficiency is degraded by inline expansion, it will not perform it in some cases.