This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: rs6000 sibcall test
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 9 Sep 2002 08:36:18 +0930
- Subject: Re: rs6000 sibcall test
- References: <amodra@bigpond.net.au> <200209082215.SAA22954@makai.watson.ibm.com>
On Sun, Sep 08, 2002 at 06:15:07PM -0400, David Edelsohn wrote:
> * config/rs6000/rs6000.c (function_ok_for_sibcall): Use binds_local_p.
>
> Doesn't this lose the TREE_ASM_WRITTEN optimization? Does this mean that
> default_binds_local_p should take TREE_ASM_WRITTEN into account when not
> flag_pic?
What optimization is that? It makes no difference to ELF binding
rules whether a call displacement is positive or negative.
--
Alan Modra
IBM OzLabs - Linux Technology Centre