From: Richard Kenner Date: Tue, 6 Jun 1995 18:58:32 +0000 (-0400) Subject: (finalize_pic): Emit USE insn at start and end of function. X-Git-Tag: misc/cutover-egcs-0~4068 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=adedad3ee43bac5471d20dccdc63c5ab72c6aaed;p=thirdparty%2Fgcc.git (finalize_pic): Emit USE insn at start and end of function. From-SVN: r9890 --- diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 7719c3bbb8f4..8adef7529b49 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -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); + } }