register_coloring

Controls the use of register coloring.

Syntax

#pragma register_coloring on | off | reset

Targets
Intel x86
Remarks

If you enable this pragma, the compiler uses a single register to hold the values of multiple variables that are never used in the same statement. This improves program performance.

TIP Disable this setting when debugging a program.

This pragma does not correspond to any panel setting. To check this setting, use __option (register_coloring). This settings is on at optimization level 2 and above