Intel® Fortran Compiler 17.0 Developer Guide and Reference
Lets you specify the maximum size of a function to be inlined.
Linux and macOS: | -finline-limit=n |
Windows: | None |
n |
Must be an integer greater than or equal to zero. It is the maximum number of lines the function can have to be considered for inlining. |
OFF |
The compiler uses default heuristics when inlining functions. |
This option lets you specify the maximum size of a function to be inlined. The compiler inlines smaller functions, but this option lets you inline large functions. For example, to indicate a large function, you could specify 100 or 1000 for n.
Note that parts of functions cannot be inlined, only whole functions.
This option is a modification of the -finline-functions option, whose behavior occurs by default.
None