User and Reference Guide for the Intel® C++ Compiler 14.0
Enable use of ANSI aliasing rules in optimizations.
Linux OS and OS X: | -ansi-alias -no-ansi-alias |
Windows OS: | /Qansi-alias /Qansi-alias- |
None
-no-ansi-alias or /Qansi-alias- |
Disable use of ANSI aliasing rules in optimizations. |
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.
When you specify the [Q]ansi-alias option, the ansi-alias checker is enabled by default. To disable the ansi-alias checker, you must specify the negative form of the option (see Syntax above).
Windows: Language > Enable Use of ANSI Aliasing Rules in Optimizations
Linux: Language > Enable Use of ANSI Aliasing Rules in Optimizations
OS X: Language > Enable ANSI Aliasing
Linux and OS X: -fstrict-aliasing
Windows: None