domwalk: use gcc_sort_r
authorRichard Biener <rguenther@suse.de>
Thu, 1 Aug 2019 17:16:48 +0000 (17:16 +0000)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Thu, 1 Aug 2019 17:16:48 +0000 (20:16 +0300)
commit51007dc16a71e1289546f92dfebbe4ef3026176c
treea25014d6b09ce6cc182aa8a51642201e04aaa246
parentce0454d9419dbcd73e65dae2a3eba15eeddbe338
domwalk: use gcc_sort_r

2019-08-01  Richard Biener  <rguenther@suse.de>

* domwalk.c (bb_postorder): Remove static variable.
(cmp_bb_postorder): Adjust.
(sort_bbs_postorder): Adjust and use gcc_sort_r.
(dom_walker::walk): Adjust.

From-SVN: r273978
gcc/ChangeLog
gcc/domwalk.c