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 />

Example<br />

struct S<br />

{<br />

void* operator new(std::size_t);<br />

void* operator new[](std::size_t);<br />

};<br />

void *operator new(std::size_t, int);<br />

With the --force_new_nothrow option in effect, this is treated as:<br />

struct S<br />

{<br />

void* operator new(std::size_t) throw();<br />

void* operator new[](std::size_t) throw();<br />

};<br />

void *operator new(std::size_t, int) throw();<br />

See also<br />

• Using the ::operator new function on page 5-13.<br />

2.1.52 --forceinline<br />

This option forces functions marked __inline to be inlined.<br />

If used, the compiler always attempts to inline those functions marked as __inline, if<br />

possible. The compiler attempts to inline the function, regardless of its characteristics.<br />

However, it does not inline a function if doing so causes problems. For example, a<br />

recursive function is inlined into itself only once.<br />

See also<br />

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

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

• __forceinline on page 4-6<br />

• __inline on page 4-9<br />

• Managing inlining on page 4-20 in the <strong>Compiler</strong> User <strong>Guide</strong>.<br />

2.1.53 --fpmode=model<br />

This option specifies the floating-point conformance, and sets library attributes and<br />

floating-point optimizations.<br />

Syntax<br />

--fpmode=model<br />

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

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!