(finalize_pic): Emit USE insn at start and end of function.

From-SVN: r9890
This commit is contained in:
Richard Kenner 1995-06-06 14:58:32 -04:00
parent eb9398721e
commit adedad3ee4

View File

@ -62,7 +62,11 @@ void
finalize_pic ()
{
if (flag_pic && current_function_uses_pic_offset_table)
emit_insn (gen_rtx (USE, VOIDmode, pic_offset_table_rtx));
{
rtx insn = gen_rtx (USE, VOIDmode, pic_offset_table_rtx);
emit_insn_after (insn, get_insns ());
emit_insn (insn);
}
}