PR bootstrap/49680
* dwarf2cfi.c (dwarf2out_frame_debug): Insert cfi notes after
any tablejump vector.
From-SVN: r176065
+2011-07-08 Richard Henderson <rth@redhat.com>
+
+ PR bootstrap/49680
+ * dwarf2cfi.c (dwarf2out_frame_debug): Insert cfi notes after
+ any tablejump vector.
+
2011-07-08 Jakub Jelinek <jakub@redhat.com>
PR target/49621
bool handled_one = false;
bool need_flush = false;
- /* Remember where we are to insert notes. */
- cfi_insn = (after_p ? insn : PREV_INSN (insn));
+ /* Remember where we are to insert notes. Do not separate tablejump
+ insns from their ADDR_DIFF_VEC. Putting the note after the VEC
+ should be ok. */
+ if (after_p)
+ {
+ if (!tablejump_p (insn, NULL, &cfi_insn))
+ cfi_insn = insn;
+ }
+ else
+ cfi_insn = PREV_INSN (insn);
if (!NONJUMP_INSN_P (insn) || clobbers_queued_reg_save (insn))
dwarf2out_flush_queued_reg_saves ();