ansi-alias, Qansi-alias  

Tells the compiler to assume that the program adheres to Fortran Standard type aliasability rules.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -ansi-alias
-no-ansi-alias

Windows: 

/Qansi-alias
/Qansi-alias-

Arguments

None

Default

ON Programs adhere to Fortran Standard type aliasability rules.

Description

This option tells the compiler to assume that the program adheres to type aliasability rules defined in the Fortran Standard.

For example, an object of type real cannot be accessed as an integer. For information on the rules for data types and data type constants, see "Data Types, Constants, and Variables" in the Language Reference.

This option directs the compiler to assume the following:

If your program adheres to the Fortran Standard type aliasability rules, this option enables the compiler to optimize more aggressively. If it doesn't adhere to these rules, then you should disable the option with -no-ansi-alias (Linux) or /Qansi-alias- (Windows) so the compiler does not generate incorrect code.

Alternate Options

Linux: -ansi_alias
Windows: /Qansi_alias