bb-reorder: convert to gcc_stablesort
authorAlexander Monakov <amonakov@ispras.ru>
Mon, 3 Sep 2018 16:55:05 +0000 (19:55 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Mon, 3 Sep 2018 16:55:05 +0000 (19:55 +0300)
commit64979e04afabef10adfce819b9955dd8ae6c2fbe
treef3eabcf353766734feceb7ca5e4c92b1eefbd14f
parentd2391983fc709bf83e3d10e00de7e06ad25464ca
bb-reorder: convert to gcc_stablesort

* bb-reorder.c (edge_order): Convert to C-qsort-style
tri-state comparator.
(reorder_basic_blocks_simple): Change std::stable_sort to gcc_stablesort.

From-SVN: r264068
gcc/ChangeLog
gcc/bb-reorder.c