Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

falign-functions, Qfnalign

Tells the compiler to align procedures on an optimal byte boundary.

Syntax

Linux:

-falign-functions[=n]

-fno-align-functions

Windows:

/Qfnalign[:n]

/Qfnalign-

Arguments

n

Is an optional positive integer scalar initialization expression indicating the number of bytes for the minimum alignment boundary.

It tells the compiler to align procedures on a power-of-2 byte boundary. If you do not specify n, the compiler aligns the start of procedures on 16-byte boundaries.

The n must be a positive integer less than or equal to 4096. If you specify a value that is not a power of 2, n will be rounded up to the nearest power of 2. For example, if 23 is specified for n, procedures will be aligned on 32 byte boundaries.

Default

-fno-align-functions or /Qfnalign-

The compiler aligns procedures on 2-byte boundaries. This is the same as specifying -falign-functions=2 (Linux*) or /Qfnalign:2 (Windows*).

Description

This option tells the compiler to align procedures on an optimal byte boundary. If you do not specify n, the compiler aligns the start of procedures on 16-byte boundaries.

IDE Equivalent

None

Alternate Options

None