Next: Epiphany Function Attributes, Previous: CR16 Function Attributes, Up: Function Attributes
These function attributes are supported by the C-SKY back end:
interrupt
isr
Use of these options requires the -mistack command-line option
to enable support for the necessary interrupt stack instructions. They
are ignored with a warning otherwise. See C-SKY Options.
naked
asm
statements can safely be included in naked functions
(see Basic Asm). While using extended asm
or a mixture of
basic asm
and C code may appear to work, they cannot be
depended upon to work reliably and are not supported.