> Hi. > > There's one missing vector comparison. Fix is obvious, ready for trunk? > > Thanks, > Martin
> >From 3d03fb28ec21b6ed30d5179bd70aba79d246cd26 Mon Sep 17 00:00:00 2001 > From: mliska <mli...@suse.cz> > Date: Fri, 27 Feb 2015 16:35:31 +0100 > Subject: [PATCH] Fix missing condition in symbol_compare_hashmap_traits. > > gcc/ChangeLog: > > 2015-02-27 Martin Liska <mli...@suse.cz> > > * ipa-icf.h (struct symbol_compare_hashmap_traits): Add missing > vector length condition. OK Honza > --- > gcc/ipa-icf.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/gcc/ipa-icf.h b/gcc/ipa-icf.h > index 9e76239..077267c 100644 > --- a/gcc/ipa-icf.h > +++ b/gcc/ipa-icf.h > @@ -110,7 +110,8 @@ struct symbol_compare_hashmap_traits: > default_hashmap_traits > equal_keys (const symbol_compare_collection *a, > const symbol_compare_collection *b) > { > - if (a->m_references.length () != b->m_references.length ()) > + if (a->m_references.length () != b->m_references.length () > + || a->m_interposables.length () != b->m_interposables.length ()) > return false; > > for (unsigned i = 0; i < a->m_references.length (); i++) > -- > 2.1.2 >