29.12.2014 Views

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Compiler</strong> Command-line Options<br />

See also<br />

• --[no_]autoinline on page 2-9<br />

• --[no_]debug on page 2-21<br />

• --forceinline on page 2-39<br />

• --fpmode=model on page 2-39<br />

• --[no_]inline on page 2-49<br />

• --[no_]multifile on page 2-63<br />

• -Ospace<br />

• -Otime on page 2-69<br />

• Optimizing code on page 4-2 in the <strong>Compiler</strong> User <strong>Guide</strong>.<br />

2.1.88 --[no_]old_specializations<br />

This option controls the acceptance of old-style template specializations in C++.<br />

Old-style template specializations do not use the template syntax.<br />

Note<br />

The option --old_specializations is provided only as a migration aid for legacy source<br />

code that does not conform to the C++ standard. Its use is not recommended.<br />

Mode<br />

This option is effective only if the source language is C++.<br />

Default<br />

The default is --no_old_specializations.<br />

2.1.89 -Ospace<br />

This option instructs the compiler to perform optimizations to reduce image size at the<br />

expense of a possible increase in execution time.<br />

Use this option if code size is more critical than performance. For example, when the<br />

-Ospace option is selected, large structure copies are done by out-of-line function calls<br />

instead of inline code.<br />

If required, you can compile the time-critical parts of your code with -Otime, and the rest<br />

with -Ospace.<br />

2-68 Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0348A<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!