-Xvolatile


This option specifies external variables as volatile.

[Specification format]

-Xvolatile

 

-

Interpretation when omitted

Only the volatile-qualified variables are handled as if they were volatile-declared.

[Detailed description]

-

This option handles all external variables as if they were volatile-declared.
The access count and access order for external variables are exactly the same as those described in the C source file.

[Example of use]

-

To handle all external variables as if they were volatile-declared, describe as:

>ccrh -Xvolatile -Xcommon=rh850 main.c