+2017-10-01 Alan Modra <amodra@gmail.com>
+
+ PR 21957
+ * dwarf2.c (new_line_sorts_after): Remove end_sequence comparison.
+ (add_line_info): Always put end_sequence last.
+
2017-10-01 Alan Modra <amodra@gmail.com>
PR 22047
{
return (new_line->address > line->address
|| (new_line->address == line->address
- && (new_line->op_index > line->op_index
- || (new_line->op_index == line->op_index
- && new_line->end_sequence < line->end_sequence))));
+ && new_line->op_index > line->op_index));
}
table->sequences = seq;
table->num_sequences++;
}
- else if (new_line_sorts_after (info, seq->last_line))
+ else if (info->end_sequence
+ || new_line_sorts_after (info, seq->last_line))
{
/* Normal case: add 'info' to the beginning of the current sequence. */
info->prev_line = seq->last_line;