fl.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.
Optimizing (/O)
                                             Up Contents Index Back
─────Optimizing (/O)────────────────────────────────────────────────────────
 
     The compiler performs some optimizations by default. You can use
     the /O options to exercise greater control over the optimization
     performed.
 
     The /O (optimize) option controls optimization.
 
     Syntax: /Oletters
 
     Default: /Ox
 
     The <letters> after /O alter the way the compiler optimizes your
     code:
 
     Character     Optimizing Procedure
 
     c             Common subexpression elimination
 
     d             Disables optimization; leaves stack checking on
 
     l             Loop optimization
 
     p             Improves consistency of floating-point results
 
     s             Favors reduced code size
 
     t             Favors rapid execution
 
     x             Full optimization; equivalent to /Olt /Gs
 
     More than one /O option may appear on a command line. All of the
     options apply to all of the source-code files. FL processes the
     options in the order in which they appear.
 
     Giving /O without a letter is the same as /Ox. Whenever the
     compiler has a choice between producing smaller (but slower) code
     and larger (but faster) code, the compiler chooses to generate the
     larger, faster code.
 
     NOTE: When the debug option (/4Yb) is enabled, loop optimization
     is disabled.
                                    -♦-