Hello,

> > The problem is that r77 is not used in it's function after this
instruction
> > and thus DCE deletes it.
>
> Don't focus on DCE.  That's not the problem; the fact that there's no
> visible dependence is the problem.  Can you make the next instruction
> have a use for r77 explicitly (CALL_INSN_FUNCTION_USAGE)?

Thanks for all the replies.

I received a similar suggestion from David Edelsohn which told me to use -
emit_insn (gen_rtx_USE (VOIDmode, r77));
similar to use_reg() function in expr.c;

That seems to solve the problem.

Thanks again,
Revital

Reply via email to