You copied the Doc URL to your clipboard.

Default compiler options that are affected by optimization level

In general, optimization levels are independent from the default behavior of command-line options. However, there are a small number of exceptions where the level of optimization you use changes the default option.

These exceptions are:

  • --autoinline, --no_autoinline.

  • --data_reorder, --no_data_reorder.

Depending on the value of -Onum you use (-O0, -O1, -O2, or -O3), the default option changes as specified. See the individual command-line option reference descriptions for more information.