8.141 -Ospace

Performs optimizations to reduce image size at the expense of a possible increase in execution time.

Use this option if code size is more critical than performance. For example, when the -Ospace option is selected, large structure copies are done by out-of-line function calls instead of inline code.

If required, you can compile the time-critical parts of your code with -Otime, and the rest with -Ospace.

Default

If you do not specify either -Ospace or -Otime, the compiler assumes -Ospace.

Related reference
10.91 #pragma Onum
10.94 #pragma Otime
10.93 #pragma Ospace
8.138 -Onum
8.142 -Otime
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.