]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* ipa-icf.c (sem_item::compare_symbol_references): Fix use
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Oct 2015 23:20:06 +0000 (23:20 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Oct 2015 23:20:06 +0000 (23:20 +0000)
of availability.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228628 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ipa-icf.c

index 2c760ee244741c0fe5588416b6c902296929f6e0..8ba160389a59b91c3b655b1fcd248245f215e3df 100644 (file)
@@ -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
index b0762227539c7cf97dde3dc9a4955e0a879040d2..b0ef9f17254b1ee0687d8c80185dbd2a839cf212 100644 (file)
@@ -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");