Commit b94097dc by Martin Liska Committed by Martin Liska

Fix missing condition in symbol_compare_hashmap_traits.

	* ipa-icf.h (struct symbol_compare_hashmap_traits): Add missing
	vector length condition.

From-SVN: r221069
parent 8eba66e8
2015-02-27 Martin Liska <mliska@suse.cz>
* ipa-icf.h (struct symbol_compare_hashmap_traits): Add missing
vector length condition.
2015-02-27 Sandra Loosemore <sandra@codesourcery.com>
* doc/extend.texi (x86 transactional memory intrinsics):
......
......@@ -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++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment