Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

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

Document Table of Contents

falign-stack

Tells the compiler the stack alignment to use on entry to routines. This is a deprecated option that may be removed in a future release. This feature is only available for ifort.

Architecture Restrictions

Only available on IA-32 architecture. IA-32 support is deprecated and will be removed in a future release.

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.

This is a deprecated option that may be removed in a future release. There is no replacement option.

IDE Equivalent

None

Alternate Options

None