Visible to Intel only — GUID: GUID-245BAA30-5A92-4DAF-AD2F-5DA404545D1F
Visible to Intel only — GUID: GUID-245BAA30-5A92-4DAF-AD2F-5DA404545D1F
inline-forceinline, Qinline-forceinline
Instructs the compiler to force inlining of functions suggested for inlining whenever the compiler is capable doing so. This feature is only available for ifort.
Syntax
Linux: |
-inline-forceinline |
macOS: |
-inline-forceinline |
Windows: |
/Qinline-forceinline |
Default
OFF |
The compiler uses default heuristics for inline routine expansion. |
Description
This option instructs the compiler to force inlining of functions suggested for inlining whenever the compiler is capable doing so.
Without this option, the compiler treats functions declared with an INLINE attribute as merely being recommended for inlining. When this option is used, it is as if they were declared with the directive !DIR$ ATTRIBUTES FORCEINLINE.
To see compiler values for important inlining limits, specify option [q or Q]opt-report.
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.
IDE Equivalent
Alternate Options
None