Skip to main content
Renesas Singapore - Knowledgebase

Why does the function which #pragma in-line can't be expand?

Latest Updated:09/10/2007


A function which #pragma in-line was specified cannot be expanded after using a speed optimization option.


The in-line expansion of the function using #pragma in-line depends on an inline=<value> option setting.
The in-line option is set to “inline=<20>” by default when the speed optimization option is used with.
Therefore, the in-line expansion may be deterrented according to the size of the function which #pragma inline is specified.
You can control the in-line expansion level by resetting the value of inline=<value> option.
Suitable Products
C/C++ Compiler Package for SuperH Family