datalocal

Applies to C Applies to C++

Purpose

Marks data as local.

Syntax


Syntax Diagram

Notes

This option applies only to 64-bit compilation.

When this option is in effect, local variables are statically bound with the functions that use them.

Performance may decrease if an imported variable is assumed to be local.

Conflicts among the -qdataimported and -qdatalocal 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 References

Compiler Command Line Options
dataimported IBM Copyright 2003