This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Indirect C-function calls not sibcall-optimised?
- From: Richard Henderson <rth at redhat dot com>
- To: Andreas Bauer <Andreas dot Bauer at cs dot anu dot edu dot au>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 15 Jul 2002 14:59:25 -0700
- Subject: Re: Indirect C-function calls not sibcall-optimised?
- References: <E17Tz8S-0001II-00@cs.anu.edu.au>
On Mon, Jul 15, 2002 at 04:15:04PM +1000, Andreas Bauer wrote:
> Could someone point out to me why it is not possible in gcc 3.1 (Don't know
> about newer CVS-versions.) to use sibcall-optimisation with indirect
> function calls?
One has to allocate the address to a call-clobbered that does not
overlap the argument registers. There is no generic way to do that
at present. It would be possible to defer the decision on a per-
processor basis, but certainly not guaranteed.
r~