Message ID | 20100902214014.GW1269@tyan-ft48-01.lab.bos.redhat.com |
---|---|
State | New |
Headers | show |
On 09/02/2010 02:40 PM, Jakub Jelinek wrote: > rtx insn; > start_sequence (); > - insn = emit_barrier (); > + insn = emit_jump_insn (gen_rtx_SET (VOIDmode, pc_rtx, pc_rtx)); > end_sequence (); > dwarf2out_frame_debug (insn, false); Ug. Wouldn't it be better simply to expose a dwarf2out routine that flushes the queue, without dancing around fake insns? r~
--- gcc/config/i386/i386.c.jj 2010-09-01 19:15:23.000000000 +0200 +++ gcc/config/i386/i386.c 2010-09-02 17:31:36.533646187 +0200 @@ -8122,7 +8122,7 @@ output_set_got (rtx dest, rtx label ATTR { rtx insn; start_sequence (); - insn = emit_barrier (); + insn = emit_jump_insn (gen_rtx_SET (VOIDmode, pc_rtx, pc_rtx)); end_sequence (); dwarf2out_frame_debug (insn, false); }