This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Indirect C-function calls not sibcall-optimised?


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]