+2014-10-06 Eric Botcazou <ebotcazou@adacore.com>
+
+ * dwarf2cfi.c (create_pseudo_cfg): Fix trace numbering.
+
2014-10-06 Jakub Jelinek <jakub@redhat.com>
* ubsan.h (ubsan_get_source_location): New prototype.
memset (&ti, 0, sizeof (ti));
ti.head = insn;
ti.switch_sections = switch_sections;
- ti.id = trace_info.length () - 1;
+ ti.id = trace_info.length ();
trace_info.safe_push (ti);
saw_barrier = false;
dw_trace_info **slot;
if (dump_file)
- fprintf (dump_file, "Creating trace %u : start at %s %d%s\n", i,
+ fprintf (dump_file, "Creating trace %u : start at %s %d%s\n", tp->id,
rtx_name[(int) GET_CODE (tp->head)], INSN_UID (tp->head),
tp->switch_sections ? " (section switch)" : "");