Intel® Fortran Compiler 17.0 Developer Guide and Reference
Tells the compiler to assume certain rules of the Fortran standard regarding aliasing and array bounds.
Linux and macOS: | -ansi-alias -no-ansi-alias |
Windows: | /Qansi-alias /Qansi-alias- |
None
-ansi-alias |
Programs adhere to the Fortran standard's rules regarding aliasing and array bounds. |
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 OS X*) 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.
None