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.

Non-ConfidentialPDF file icon PDF versionARM DUI0472M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.