Intel® Fortran Compiler 17.0 Developer Guide and Reference

falign-stack

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

Architecture Restrictions

Only available on IA-32 architecture

Syntax

Linux:

-falign-stack=mode

macOS:

None

Windows:

None

Arguments

mode

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

assume-4-byte

Tells the compiler to assume the stack is aligned on 4-byte boundaries. The compiler can dynamically adjust the stack to 16-byte alignment if needed.

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. The compiler can dynamically align the stack if needed. This setting is compatible with gcc.

assume-16-byte

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

Default

-falign-stack=assume-16-byte

The compiler assumes the stack is aligned on 16-byte boundaries and continues to maintain 16-byte alignment.

Description

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

IDE Equivalent

None

Alternate Options

None