+2019-09-19 Martin Liska <mliska@suse.cz>
+
+ * ipa-icf.c (sort_congruence_class_groups_by_decl_uid):
+ Use proper casting.
+
2019-09-19 Richard Henderson <richard.henderson@linaro.org>
* config/aarch64/aarch64.c (aarch64_print_operand): Allow integer
sort_congruence_class_groups_by_decl_uid (const void *a, const void *b)
{
const std::pair<congruence_class_group *, int> *g1
- = *(const std::pair<congruence_class_group *, int> *const *) a;
+ = (const std::pair<congruence_class_group *, int> *) a;
const std::pair<congruence_class_group *, int> *g2
- = *(const std::pair<congruence_class_group *, int> *const *) b;
+ = (const std::pair<congruence_class_group *, int> *) b;
return g1->second - g2->second;
}