making naked attr generally available

Nick Ing-Simmons
Wed Jun 30 15:43:00 GMT 1999

Joern Rennecke <> writes:
>> I think it would be good to allow architecture specific "interrupt" functions
>> too. i.e. :
>> save all regs used (leaf functions), or _all_ regs (non-leaf)
>> use appropriate RETI insn in epilogue.
>Why would you want it to save call-saved registers that are not used in the
>interrupt function?  

I don't - of course - sorry for the wooly thinking.

>Any called function should save these registers if it
>uses them.
>FWIW the #pragma interrput of the SH port only affects saving of call-used
Nick Ing-Simmons <>
Via, but not speaking for: Texas Instruments Ltd.

More information about the Gcc mailing list