### /qalias Compiler Option

Syntax: | Default:
/qalias=option[:option]... | None.

Use /qalias to specify what kind of aliasing can take place in the compilation unit. Two or more expressions that can denote the same memory addresses are aliases of each other. Aliases can be produced by pointers, function calls or aggregates in your code. Allowing tighter aliasing rules (less aliasing) enables more aggressive optimization.

option can be:

TYP[EPTR] | Never alias pointers to different types.
ALLP[TRS] | Pointers are never aliased. No two pointers can point directly to the same storage location. This setting implies /qalias=typ.
ADDR[TAKEN] | Any class of variable for which an address has not been taken is disjoint from indirect access through pointers.
ANSI | Type-based aliasing is used during optimization.

Summary of Compiler Options
Language-Dependent Options