Bug? flow_find_cross_jump deletes USE insns ...

Richard Henderson rth@redhat.com
Mon Jan 14 13:05:00 GMT 2002


On Mon, Jan 14, 2002 at 04:56:53PM +0100, Ulrich Weigand wrote:
> The prolog on S/390 generates a USE insn for the GOT register,
> because the GOT pointer must be loaded even if it isn't used
> in the routine (because the PLT stubs rely on the register).

This isn't going to work.  Bare USE insns aren't meaningful
after reload.  You need to add the USE to the call insn.  You
can do this either inside the call pattern itself, or by adding
it to the CALL_INSN_FUNCTION_USAGE expr_list.


r~



More information about the Gcc mailing list