ansi-alias, Qansi-alias

Enable use of ANSI aliasing rules in optimizations.

IDE Equivalent

Linux: Language > Enable Use of ANSI Aliasing Rules in Optimizations

Architectures

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

Syntax

Linux: -ansi-alias
  -ansi-alias-
Windows:    /Qansi-alias
  /Qansi-alias-

Arguments

None

Default

-ansi-alias-      Disable use of ANSI aliasing rules in optimizations.

Description

This option tells the compiler to assume that the program adheres to ISO C Standard aliasability rules.

If your program adheres to these rules, then this option allows the compiler to optimize more aggressively. If it doesn't adhere to these rules, then it can cause the compiler to generate incorrect code.

Alternate Options

None