04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Language Extensions<br />

• You can use conditional expressions, for example:<br />

(a b : c) = a;<br />

This picks b or c as the destination dependent on a.<br />

Mode<br />

Supported in GNU mode only for C90 and C99 only.<br />

3.7.10 Initializers<br />

As in standard C++ and ISO C99, the elements of an aggregate initializer for an<br />

automatic variable are not required to be constant expressions.<br />

Mode<br />

Supported in GNU mode only for C90.<br />

Example<br />

float Initializers_0 (float f, float g)<br />

{<br />

float beat_freqs[2] = { f-g, f+g };<br />

float aLocal;<br />

int i=0;<br />

for (; i

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

Saved successfully!

Ooh no, something went wrong!