Re: Fix use of availability in ipa-icf

2015-10-09 Thread Richard Biener
On Fri, Oct 9, 2015 at 1:21 AM, Jan Hubicka wrote: > Hi, > this is a bug I noticed while reading the code. We can not assume > interposable > objects to be equivalent unless they are actually the same symbols. > > Bootstrapped/regtested x86_64-linux, comitted. Backport? > Honza > > * i

Fix use of availability in ipa-icf

2015-10-08 Thread Jan Hubicka
Hi, this is a bug I noticed while reading the code. We can not assume interposable objects to be equivalent unless they are actually the same symbols. Bootstrapped/regtested x86_64-linux, comitted. Honza * ipa-icf.c (sem_item::compare_symbol_references): Fix use of availability.