falign-stack

Tells the compiler the stack alignment to use on entry to routines.

IDE Equivalent

None

Architectures

IA-32 architecture

Syntax

Linux and Mac OS X:

-falign-stack=mode

Windows:

None

Arguments

mode

Is the method to use for stack alignment. Possible values are:

default

Tells the compiler to use default heuristics for stack alignment. If alignment is required, the compiler dynamically aligns the stack.

maintain-16-byte

Tells the compiler to not assume any specific stack alignment, but attempt to maintain alignment in case the stack is already aligned. If alignment is required, the compiler dynamically aligns the stack. This setting is compatible with GCC.

assume-16-byte

Tells the compiler to assume the stack is aligned on 16-byte boundaries and continue to maintain 16-byte alignment. This setting is compatible with GCC.

Default

-falign-stack=default

The compiler uses default heuristics for stack alignment.

Description

This option tells the compiler the stack alignment to use on entry to routines.

Alternate Options

None