











C Compiler OptimizationLevel 1
Performs all level 0 functions, PLUS:
Performs local copy / constant propagation
Removes local dead assignments
Eliminates local common sub-expressions
Notes:
The next level of optimization, level 1, does all of the level 0 optimizations plus more.
It performs constant propagation, and removes local dead assignments. It also eliminates local common sub-expressions. For instance, if there is a local subroutine that always assigns the variable Y the value of two, but never modifies Y again, that subroutine would be eliminated.