Intel® Fortran Compiler 16.0 User and Reference Guide

ansi-alias, Qansi-alias

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

Syntax

Linux and OS X:

-ansi-alias

-no-ansi-alias

Windows:

Qansi-alias

Qansi-alias-

Arguments

None

Default

-ansi-alias
or /Qansi-alias

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* OS and OS X*) or /Qansi-alias- (Windows* OS) so the compiler does not generate incorrect code.

IDE Equivalent

None

Alternate Options

None