diff options
author | Richard Biener <rguenther@suse.de> | 2019-01-02 08:49:07 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2019-01-02 08:49:07 +0000 |
commit | 9e1f4e00169f251d6777a6e594fb88fd581184f3 (patch) | |
tree | 2c0a74341db1c1513b9bdc85ef7bc8d3e648d847 /gcc/ipa-icf.h | |
parent | eef2da674ab7e8a9551e656e649359c2b27b026d (diff) | |
download | gcc-9e1f4e00169f251d6777a6e594fb88fd581184f3.zip gcc-9e1f4e00169f251d6777a6e594fb88fd581184f3.tar.gz gcc-9e1f4e00169f251d6777a6e594fb88fd581184f3.tar.bz2 |
re PR lto/85574 (LTO bootstapped binaries differ)
2019-01-02 Richard Biener <rguenther@suse.de>
PR ipa/85574
* ipa-icf.h (sem_item_optimizer::sort_congruence_split): Declare.
* ipa-icf.c (sem_item_optimizer::sort_congruence_split): New
function.
(sem_item_optimizer::do_congruence_step_f): Sort the congruence
set after UIDs before splitting them.
From-SVN: r267506
Diffstat (limited to 'gcc/ipa-icf.h')
-rw-r--r-- | gcc/ipa-icf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ipa-icf.h b/gcc/ipa-icf.h index d8a8d43..27d588c 100644 --- a/gcc/ipa-icf.h +++ b/gcc/ipa-icf.h @@ -599,6 +599,9 @@ private: bitmap const &b, traverse_split_pair *pair); + /* Compare function for sorting pairs in do_congruence_step_f. */ + static int sort_congruence_split (const void *, const void *); + /* Reads a section from LTO stream file FILE_DATA. Input block for DATA contains LEN bytes. */ void read_section (lto_file_decl_data *file_data, const char *data, |