This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New lang hook: ok_for_sibcall
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- To: Andrew Haley <aph at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Thu, 22 May 2003 03:20:35 +1000
- Subject: Re: New lang hook: ok_for_sibcall
- References: <16075.42961.406514.46693@cuddles.redhat.com>
On 21-May-2003, Andrew Haley <aph@redhat.com> wrote:
> Sibcalls break Java programs in interesting ways. To fix this while
> still allowing sibcalls to be used where it won't hurt, I need to be
> able to control when a sibcall is allowed.
What about sibcalls via function pointers?
For those, fndecl in expand_call() will be a null pointer.
Your patch doesn't seem to handle that case.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.