-qinlglue

Category

Object code control

Pragma equivalent

#pragma options [no]inlglue

Purpose

When used with -O2 or higher optimization, inlines glue code that optimizes external function calls in your application.

Glue code, generated by the linker, is used for passing control between two external functions. When -qinlglue is in effect, the optimizer inlines glue code for better performance. When -qnoinlglue is in effect, inlining of glue code is prevented.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-noinlglue-.   
>>- -q--+-inlglue---+------------------------------------------><

Defaults

Usage

If you use the -qtune option with any of the suboptions that imply -qinlglue and you want to disable inlining of glue code, make sure to specify -qnoinlglue as well.

Inlining glue code can cause the code size to grow. Specifying -qcompact overrides the -qinlglue setting to prevent code growth. If you want -qinlglue to be enabled, do not specify -qcompact.

Specifying -qnoinlglue or -qcompact can degrade performance; use these options with discretion.

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.

Predefined macros

None.

Related information