mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-03 07:10:28 +08:00
(finalize_pic): Emit USE insn at start and end of function.
From-SVN: r9890
This commit is contained in:
parent
eb9398721e
commit
adedad3ee4
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user