Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Intel-Specific Pragma Reference

Pragmas specific to the Intel® C++ Compiler Classic are listed in the following table.

Some pragmas are available for both Intel® microprocessors and non-Intel microprocessors, but may perform additional optimizations for Intel® microprocessors than for non-Intel microprocessors.

Pragma

Description

alloc_section

Allocates one or more variables in the specified section. Controls section attribute specification for variables.

block_loop/noblock_loop

Enables or disables loop blocking for the immediately following nested loops. block_loop enables loop blocking for the nested loops. noblock_loop disables loop blocking for the nested loops.

code_align

Specifies the byte alignment for a loop

distribute_point

Instructs the compiler to prefer loop distribution at the location indicated.

inline/noinline/forceinline

Specifies inlining of all calls in a statement. This also describes pragmas forceinline and noinline.