This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: interrupt handler functions
- From: Richard Sandiford <rsandifo at redhat dot com>
- To: John Parkes <jp012c6013 at blueyonder dot co dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 24 Jul 2004 08:05:22 +0100
- Subject: Re: interrupt handler functions
- References: <200407231634.06444.jp012c6013@blueyonder.co.uk>
John Parkes <jp012c6013@blueyonder.co.uk> writes:
> My port has RTL pro/epilogue. I'm trying to implement the `interrupt'
> attribute. How do I tell life analysis that call clobbered registers
> are live at function exit, to prevent it trying to delete restores of
> those registers in the epilogue ?
One way would be to add them to EPILOGUE_USES.
Richard