-qinline

In z/OS® XL C/C++, -qinline controls the amount of functions inlining for improved performance

In Open XL C/C++ for z/OS, some of the -qinline suboptions have functionally equivalent options as shown in the following table.
Table 1. Similar or equivalent option mapping of -qfinline
Options supported by z/OS XL C/C++ Similar/equivalent options supported by Open XL C/C++ for z/OS
-qnoinline -fno-inline
-qinline=auto -finline-functions
-qinline=noauto -fno-inline-functions, -finline-hint-functions
Notes:
  • The -finline-functions and -finline-hint-functions take effect only at -O1 or higher.
  • The effect of -finline-hint-functions is not cumulative. For example, if the option comes after -finline-functions, -finline-functions is overridden, and only explicitly or implicitly hinted functions get inlined.
  • In z/OS XL C/C++, -qinline=noauto considers hinted functions and those with small bodies as candidates for inlining. To consider explicitly and implicitly hinted functions for inclining, use -finline-hint-functions in Open XL C/C++ for z/OS instead.
  • The -fno-inline option is overridden if it is specified together with -finline-functions or -finline-hint-function.

Related information