4.35 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.

Related reference
8.15 --autoinline, --no_autoinline
8.42 --data_reorder, --no_data_reorder
8.138 -Onum
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.