This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] replace sibcall.c take 3
> On Mon, 2003-11-17 at 19:05, Jan Hubicka wrote:
>
> > *************** optimize_function_tree (tree fndecl, tre
> > *** 118,124 ****
> > tree_ssa_dce (fndecl, TDI_dce_1);
> >
> > /* Eliminate tail recursion calls. */
> > ! tree_optimize_tail_calls ();
> >
> You need to check -fno-optimize-sibling-calls here.
It is checked inside tree_optimize_tail_calls.
The idea is that we allow tail recursion ellimination but not allow
sibling calls.
Redoing the pass still makes sense for tail recursion only as we invent
new oppurtunities.
I've just returned and one RH machine failed bootstrap and other RH
machine suceeded with the aliasing patch, so I am commiting it and
redoing tests on first machine. Hope the nasty bug is gone now.
Honza
>
>
> Diego.