##### Syntax

-Ocp

##### Description

Enables the copy propagation optimization. Copy propagation tracks the values in registers and tries to eliminate register-to-register moves. Copy propagation will always reduce code size and increase execution speed wherever it is applied.

##### Setting this in CrossStudio

To enable this optimization for a project:

- Select the project in the Project Explorer.
- In the Optimization Options group set the Copy Propagation Optimization property to Yes