Specifies that an inline routine should be inlined whenever the compiler can do so.
None
IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture
Linux and Mac OS: | -inline-forceinline |
Windows: | /Qinline-forceinline |
None
OFF | The compiler uses default heuristics for inline routine expansion. |
This option specifies that a inline routine should be inlined whenever the compiler can do so. This causes the routines marked with an inline keyword or directive to be treated as if they were "forceinline".
The "forceinline" condition can also be specified by using the directive cDEC$ ATTRIBUTES FORCEINLINE.
To see compiler values for important inlining limits, specify compiler option -opt-report (Linux and Mac OS) or /Qopt-report (Windows).
Caution
When you use this option to change the meaning of inline to "forceinline", the compiler may do so much additional inlining that it runs out of memory and terminates with an "out of memory" message.
None
opt-report, Qopt-report compiler option
Optimizing Applications:
Compiler Directed Inline Expansion of User Functions
Developer Directed Inline Expansion of User Functions