inserting instructions into prologue/epilogue

Richard Henderson rth@redhat.com
Wed Aug 3 18:09:00 GMT 2005


On Wed, Aug 03, 2005 at 05:28:43PM +0200, Gunther Nikl wrote:
>   Thank you. With "emit_insn (gen_rtx_USE (VOIDmode, reg))" the abort
>   disappears. The same approach seems to fix the loads in the prologue.
>   I hope that this is the correct solution.

No, it isn't.  Your problem is that you havn't properly described
the lifetime of these fixed registers.  That's why they are being
considered dead by flow.

You probably need to modify CALL_USED_REGISTERS or
CALL_REALLY_USED_REGISTERS.


r~



More information about the Gcc mailing list