Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public

Visible to Intel only — GUID: GUID-C6BD8973-93C6-4C0E-90F5-6870E25E4BB0

Document Table of Contents

GA

Enables faster access to certain thread-local storage (TLS) variables.

Syntax

Linux:

None

macOS:

None

Windows:

/GA

Arguments

None

Default

OFF

Default access to TLS variables is in effect.

Description

This option enables faster access to certain thread-local storage (TLS) variables. When you compile your main executable (.EXE) program with this option, it allows faster access to TLS variables declared with the __declspec(thread) specification.

Note that if you use this option to compile .DLLs, you may get program errors.

IDE Equivalent

Visual Studio: Optimization > Optimize for Windows Applications

Eclipse: None

Xcode: None

Alternate Options

None