Contents|Index|Previous|Next
 Options that control optimization   

  The following options control various sorts of optimizations. Options of the form, -f flag, specify machine-independent flags. Most flags have both positive and negative forms; the negative form of -ffoo would be -fno-foo. In the following discussions, only one of the forms is listed, the one which is not the default. You can figure out the other form by either removing no- or adding it. The following options control specific optimizations.
The ‘-O2’ option turns on all of these optimizations except -funroll-loops and -funroll-all-loops. On most machines, the ‘-O’ option turns on the -fthread-jumps and -fdelayed-branch options, but specific machines may handle it differently.
Use the following flags in the rare cases when you want to fine-tune optimizations.

Top|Contents|Index|Previous|Next