[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
opt_common_subs

Description:
Controls the use of common subexpression optimization.
Compatibility:
This pragma is compatible with the following platform targets:
Prototype:
#pragma opt_common_subs on | off | reset
Remarks:
When this option is on, the compiler replaces similar redundant expressions with a single expression. For example, if two statements in a function both use the expression
a * b * c + 10
the compiler generates object code that computes the expression only once and applies the resulting value to both statements.
The pragma doesn't correspond to an option in any settings panel. To check whether this option is on, use __option (opt_common_subs), described in "Checking Options."
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 17, 2000