| |||
Home > Compiler Command-line Options > Command-line options > ‑Otime |
This option instructs the compiler to perform optimizations to reduce execution time at the expense of a possible increase in image size.
Use this option if execution time is more critical than code
size. If required, you can compile the time-critical parts of your
code with -Otime
, and the rest with -Ospace
.
When the -Otime
option is selected, the compiler
compiles:
while (expression
)body
;
as:
if (expression
) { dobody
; while (expression
); }