On Mon, Sep 14, 2020 at 1:31 PM Eric Botcazou <botca...@adacore.com> wrote:
>
> > In fact I can probably reuse cfun->tail_call_marked for this purpose.
>
> Like so.

Looks reasonable to me.

Richard.
>
>         * cgraphunit.c (cgraph_node::expand_thunk): Make sure to set
>         cfun->tail_call_marked when forcing a tail call.
>         * function.c (assign_parm_setup_reg): Always use a register to
>         retrieve a parameter passed by reference if cfun->tail_call_marked.
>
> --
> Eric Botcazou

Reply via email to