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


If you do not specify either -Ospace or -Otime, the compiler assumes -Ospace.
Related reference
9.89 #pragma Onum
9.92 #pragma Otime
9.91 #pragma Ospace
7.120 -Onum
7.125 -Otime
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.