Generates fast external linkage by inlining the pointer glue code necessary to make a call to an external function or a call through a function pointer.
.-noinlglue-. >>- -q--+-inlglue---+------------------------------------------><
See also #pragma options.
This option applies only to 64-bit compilation.
Glue code, generated by the linkage editor, is used for passing control between two external functions, or when you call functions through a pointer. Therefore the -qinlglue option only affects function calls through pointers or calls to an external compilation unit. For calls to an external function, you should specify that the function is imported by using, for example, the -qprocimported option.
For performance enhancement on selected architectures, inlining of glue code is now automated through the selection of hardware tuning options. Specifying -qtune=pwr4, -qtune=pwr5, -qtune=ppc970, or -qtune=auto on a system that uses one of these architectures, will automatically enable the -qinlglue option. If you use the -qtune option with any of these suboptions and want to disable inlining of glue code, make sure to specify -qnoinlglue as well. Note, however, that -qcompact overrides the -qinlglue setting regardless of other options specified, so if you want -qinlglue to be enabled, you should not specify -qcompact.
Inlining glue code can cause the code size to grow. The option -qcompact reduces code size, but it should be noted that -qcompact overrides -qinlglue, regardless of other options specified.
Related information