On Mon, Jan 9, 2017 at 4:05 PM, Martin Liška <mli...@suse.cz> wrote: > Second part of the patch does sorting of final congruence classes, it's groups > and items included in the groups according DECL_UID. > > Both patches can bootstrap together on ppc64le-redhat-linux and survive > regression tests. > > Ready to be installed?
Minor nit: + auto_vec <congruence_class_group *> classes; + for (hash_table<congruence_class_hash>::iterator it = m_classes.begin (); + it != m_classes.end (); ++it) + classes.safe_push (*it); use quick_push and reserve_exact m_classes.elements () elements for the classes vector before. + + classes.qsort (sort_congruence_class_groups_by_decl_uid); Ok with that change. Richard. > Martin