Commit adedad3e by Richard Kenner

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

From-SVN: r9890
parent eb939872
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment