This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: forcing tail/sibling call optimization
- From: Richard Henderson <rth at redhat dot com>
- To: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 16 Sep 2002 19:58:29 -0700
- Subject: Re: forcing tail/sibling call optimization
- References: <20001201185846.A12462@hg.cs.mu.oz.au> <200012012350.PAA08096@racerx.synopsys.com> <20010104072414.B7732@hg.cs.mu.oz.au> <20010103130916.C15036@redhat.com> <20010104095831.A23010@hg.cs.mu.oz.au> <20020915063041.GA29112@mars.cs.mu.oz.au> <20020916161951.GA19283@redhat.com> <20020917021754.GA11037@mars.cs.mu.oz.au>
On Tue, Sep 17, 2002 at 12:17:55PM +1000, Fergus Henderson wrote:
> * tree.h (CALL_EXPR_TAILCALL): New boolean field.
> * calls.c (expand_call): Use it, and copy to the CALL_PLACEHOLDER RTX.
> * rtl.def (CALL_PLACEHOLDER): Add new boolean field.
> * integrate.c (copy_insn_list): Copy it.
> * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
Ok for basic-improvements-branch.
r~