# qopt-multi-version-aggressive, Qopt-multi-version-aggressive

Tells the compiler to use aggressive multi-versioning to check for pointer aliasing and scalar replacement.

## Syntax

Linux: | -qopt-multi-version-aggressive -qno-opt-multi-version-aggressive

macOS: | -qopt-multi-version-aggressive -qno-opt-multi-version-aggressive

Windows: | /Qopt-multi-version-aggressive /Qopt-multi-version-aggressive-

## Arguments

None

## Default

-qno-opt-multi-version-aggressive or /Qopt-multi-version-aggressive- | The compiler uses default heuristics when checking for pointer aliasing and scalar replacement.

## Description

This option tells the compiler to use aggressive multi-versioning to check for pointer aliasing and scalar replacement. This option may improve performance.

The performance can be affected by certain options, such as /arch or /Qx (Windows*) or -m or -x (Linux* and macOS*).

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Advanced Optimization Options