-qtocdata

Description

Marks data as local.

Syntax

Read syntax diagramSkip visual syntax diagram        .-notocdata-.
>>- -q--+-tocdata---+------------------------------------------><
 

Notes

This option applies only to 64-bit compilations, and is ignored if specified for a 32-bit compilation.

Local variables are statically bound to the functions that use them. -qtocdata instructs the compiler to assume that all variables are local.

If an imported variable is assumed to be local, incorrect code may be generated and performance may decrease. Imported variables are dynamically bound to a shared portion of a library. -qnotocdata instructs the compiler to assume that all variables are imported.

Conflicts among the data-marking options are resolved in the following manner:

Options that list variable names The last explicit specification for a particular variable name is used.
Options that change the default This form does not specify a name list. The last option specified is the default for variables not explicitly listed in the name-list form.

Related information