falign-functions, Qfnalign

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

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture

Syntax

Linux and Mac OS X: -falign-functions[=n]
-fno-align-functions
Windows: /Qfnalign[:n]
/Qfnalign-

Arguments

n Is the byte boundary for function alignment. Possible values are 2 or 16.

Default

-fno-align-functions or /Qfnalign- The compiler aligns functions on 2-byte boundaries. This is the same as specifying -falign-functions=2 (Linux and Mac OS X) or /Qfnalign:2 (Windows).

Description

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

Alternate Options

None