The actual args to this function are "pointers to pointers to
debug_info".
PR 24911
* dwarf.c (comp_addr_base): Dereference args.
+2019-08-17 Alan Modra <amodra@gmail.com>
+
+ PR 24911
+ * dwarf.c (comp_addr_base): Dereference args.
+
2019-08-16 Alan Modra <amodra@gmail.com>
PR 24909
static int
comp_addr_base (const void * v0, const void * v1)
{
- debug_info * info0 = (debug_info *) v0;
- debug_info * info1 = (debug_info *) v1;
+ debug_info *info0 = *(debug_info **) v0;
+ debug_info *info1 = *(debug_info **) v1;
return info0->addr_base - info1->addr_base;
}