From: hubicka Date: Thu, 8 Oct 2015 23:20:06 +0000 (+0000) Subject: * ipa-icf.c (sem_item::compare_symbol_references): Fix use X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c86ad305d1beb1b1a18ed942b09f5f4a2d60e8ca;p=thirdparty%2Fgcc.git * ipa-icf.c (sem_item::compare_symbol_references): Fix use of availability. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228628 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c760ee24474..8ba160389a59 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-10-08 Jan Hubicka + + * ipa-icf.c (sem_item::compare_symbol_references): Fix use + of availability. + 2015-10-08 Jeff Law * tree-ssa-loop-im.c (rewrite_bittest): Add missing call to diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c index b0762227539c..b0ef9f17254b 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");