This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Make tail-call work on SSA form
On Tue, 2003-11-18 at 12:27, Jan Hubicka wrote:
> I really hope it passes now. I would preffer to avoid the patch from
> being reverted as there is cascated work on it.
>
Yes, your last tail-call patch depends on the previous one.
> However the attached patch I am currently testing is for the more
> nastier of two bugs I run into. We completely missed the fact that
> address of variable has been taken when it has been taken in nontrivial
> way inside CALL_EXPR. Such as func(&var+4B)
>
Good catch. Thanks.
> Do you have any idea why the CALL_EXPR walker is not recursive?
>
Oversight.
> 2003-11-18 Jan Hubicka <jh@suse.cz>
> * tree-dfa.c (get_expr_operands): Parse properly more complex operands of
> CALL_EXPR.
> * tree-must-alias.c (tree_compute_must_alias, promote_var): Kill workaround
> for the bug.
>
OK if it passes bootstrap, etc.
Diego.