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

ID 767251
Date 6/24/2024
Public

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

Document Table of Contents

fmaintain-32-byte-stack-align, Qmaintain-32-byte-stack-align

Tells the compiler to realign the stack to 32-byte if stack alignment is uncertain for functions with external linkage, and retain 32-byte alignment for other functions. This feature is only available for ifx.

Syntax

Linux:

-fmaintain-32-byte-stack-align

-fno-maintain-32-byte-stack-align

Windows:

/Qmaintain-32-byte-stack-align

/Qmaintain-32-byte-stack-align-

Arguments

None

Default

OFF

The compiler assumes system alignment for the stack unless an option affecting that alignment is specified.

Description

This option tells the compiler to realign the stack to 32-byte if stack alignment is uncertain for functions with external linkage, and retain 32-byte alignment for other functions.

You should not use this option if you specify Clang options -mstack-alignment or -mstackrealign.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation. Offloading can only be enabled when using ifx.

IDE Equivalent

None

Alternate Options

None