C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Enable and Disable Post-Code Generation Optimizing (/Oo)
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     Syntax:  /Oo
              /Oo-
 
     The /Oo option allows the compiler to perform the following
     optimizations after code generation has occurred:
 
        ■ Peepholes
 
        ■ Code motion
 
        ■ Dead code removal
 
        ■ Unused locals removal
 
        ■ Register reloading removal
 
        ■ Exit sequence
 
        ■ Branch shortening
 
     The /Oo- switch disables the optimizations.
 
     Compiler        Default
 
     Optimizing      On
     P-Code          On
     Fast Compile    Off
                                    -♦-