diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-10-09 01:20:06 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-10-08 23:20:06 +0000 |
commit | d7e2ff72349437af24d9c13f0b57eea5f917209c (patch) | |
tree | f066eca122b86c869128755696f948fe42907da6 | |
parent | 716e92f4545a714958b68588c6f230f235ec22c0 (diff) | |
download | gcc-d7e2ff72349437af24d9c13f0b57eea5f917209c.zip gcc-d7e2ff72349437af24d9c13f0b57eea5f917209c.tar.gz gcc-d7e2ff72349437af24d9c13f0b57eea5f917209c.tar.bz2 |
ipa-icf.c (sem_item::compare_symbol_references): Fix use of availability.
* ipa-icf.c (sem_item::compare_symbol_references): Fix use
of availability.
From-SVN: r228628
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ipa-icf.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c760ee..8ba1603 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-08 Jan Hubicka <hubicka@ucw.cz> + + * ipa-icf.c (sem_item::compare_symbol_references): Fix use + of availability. + 2015-10-08 Jeff Law <law@redhat.com> * tree-ssa-loop-im.c (rewrite_bittest): Add missing call to diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c index b076222..b0ef9f1 100644 --- a/gcc/ipa-icf.c +++ b/gcc/ipa-icf.c @@ -521,8 +521,8 @@ sem_item::compare_symbol_references ( n1 = n1->ultimate_alias_target (&avail1); n2 = n2->ultimate_alias_target (&avail2); - if (avail1 >= AVAIL_INTERPOSABLE && ignored_nodes.get (n1) - && avail2 >= AVAIL_INTERPOSABLE && ignored_nodes.get (n2)) + if (avail1 > AVAIL_INTERPOSABLE && ignored_nodes.get (n1) + && avail2 > AVAIL_INTERPOSABLE && ignored_nodes.get (n2)) return true; return return_false_with_msg ("different references"); |