##### Syntax

-Otm

##### Description

Enables the tail merging optimization. Tail merging finds identical code sequences at the end of functions that can be shared, deletes all copies and reroutes control flow to exactly one instance of the code sequence. Tail merging will always reduce code size at the expense of executing an additional jump instruction.

##### 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 Tail Merging Optimization property to Yes