Visible to Intel only — GUID: GUID-D25E3B3A-DFCC-4DB7-BBFC-4909E6AB07E6
Visible to Intel only — GUID: GUID-D25E3B3A-DFCC-4DB7-BBFC-4909E6AB07E6
ansi-alias, Qansi-alias
Tells the compiler to assume certain rules of the Fortran standard regarding aliasing and array bounds.
Syntax
Linux: |
-ansi-alias -no-ansi-alias |
macOS: |
-ansi-alias -no-ansi-alias |
Windows: |
/Qansi-alias /Qansi-alias- |
Arguments
None
Default
-ansi-alias |
Programs adhere to the Fortran standard's rules regarding aliasing and array bounds. |
Description
This option tells the compiler to assume certain rules of the Fortran standard regarding aliasing and array bounds.
It tells the compiler to assume that the program adheres to the following rules of the Fortran standard:
Arrays cannot be accessed outside of declared bounds.
A dummy argument may have its definition status changed only through that dummy argument, unless it has the TARGET attribute.
This option is similar to option assume nodummy_aliases with the additional restriction on array bounds.
If -no-ansi-alias (Linux* and macOS) or /Qansi-alias- (Windows*) is specified, the compiler assumes that the program might not follow the Fortran standard's rules regarding dummy argument aliasing and array bounds; this can possibly affect performance.
IDE Equivalent
Alternate Options
None