This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems with sibling calls
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: avr at gjlay dot de (Georg-Johann Lay)
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 30 May 2009 18:43:00 +0200 (CEST)
- Subject: Re: Problems with sibling calls
Georg-Johann Lay wrote:
> I'd like to support sibling calls for a target where function args can
> be passed in call-saved registers, namely AVR.
The s390 back-end already has the very same issue. You may want to have
a look at config/s390/s390.c:s390_call_saved_register_used and how it is
used by s390_function_ok_for_sibcall.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com