Commit f8ed2fc2 by Eric Botcazou Committed by Eric Botcazou

* dwarf2cfi.c (create_pseudo_cfg): Fix trace numbering.

From-SVN: r215921
parent 8994e34a
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.
......@@ -2763,7 +2763,7 @@ create_pseudo_cfg (void)
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;
......@@ -2781,7 +2781,7 @@ create_pseudo_cfg (void)
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)" : "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment