Table of Contents Previous topic Next topic
C/C++ COMPILER->Compiler command line options->Global Register Allocation (/Og)
This option tells the compiler to perform global register allocation. All expressions in a module are then examined and all potential candidates for register variables are identified. The most desirable candidates are allocated as register variables.
Use of the /Or option in addition to the /Og option increases the desirability of identifiers qualified by the register keyword.
This option is ignored if the Advanced Features of the compiler are enabled.