profile.c (compare_freqs): New function.
authorJan Hubicka <hubicka@ucw.cz>
Fri, 16 Jun 2017 16:08:36 +0000 (18:08 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 16 Jun 2017 16:08:36 +0000 (16:08 +0000)
commit28ae04d46ea61a77b5a41267fc09b9478d4fb3cc
tree787209534abc294f53a6a154901f69e468e45fb1
parente249fcad3aea469b27d92ba9ef435ee79fd932d4
profile.c (compare_freqs): New function.

* profile.c (compare_freqs): New function.
(branch_prob): Sort edge list.
(find_spanning_tree): Assume that the list is priority sorted.

From-SVN: r249270
gcc/ChangeLog
gcc/profile.c