ARM Technical Support Knowledge Articles

COMMONRET DIRECTIVE

Applies to: C166 C Compiler

Answer


Information in this article applies to:


QUESTION

What does the COMMONRET directive do?

ANSWER

The COMMONRET directs the compiler to generate code so functions have exactly one exit point. The effect is that the compiler no longer inserts RET instructions in the middle of a function.

The abbreviation for the COMMONRET directive is CR.

SEE ALSO

Article last edited on: 2002-04-08 00:00:00

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential