This is the mail archive of the gcc-patches@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: [tree-ssa] Fix PR 14312


> 
> Fixes PR 14312 by making the tail call optimizer use the results of
> escape analysis instead of just addressability to determine if a call
> may be tail-called.

Thanks.


> Index: testsuite/gcc.dg/tree-ssa/tailcall-2.c
> ===================================================================
> RCS file: testsuite/gcc.dg/tree-ssa/tailcall-2.c
> diff -N testsuite/gcc.dg/tree-ssa/tailcall-2.c
> *** /dev/null	1 Jan 1970 00:00:00 -0000
> --- testsuite/gcc.dg/tree-ssa/tailcall-2.c	27 Feb 2004 18:14:34 -0000
> ***************
> *** 0 ****
> --- 1,23 ----
> + /* { dg-do compile } */
> + /* { dg-options "-O2 -fdump-tree-tailc-details" } */
> + /* Test provided by Richard Guenther in PR 14312.  */

Hmm, last time I looked my surname was 'Earnshaw' :-)

R.



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