Fix accidental commit.
authorJan Hubicka <hubicka@gcc.gnu.org>
Sun, 12 Apr 2015 01:09:27 +0000 (01:09 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 12 Apr 2015 01:09:27 +0000 (01:09 +0000)
From-SVN: r222016

gcc/ipa-icf.c

index bdce9cd26614ac33b91d411e0b541fe64369a4a4..b902373b31ae734dcbe2c5f67cdbb3a9e6568024 100644 (file)
@@ -628,7 +628,7 @@ sem_item::update_hash_by_local_refs (hash_map <symtab_node *,
       ref = node->iterate_reference (j, ref);
       sem_item **result = m_symtab_node_map.get (ref->referring);
       if (result)
-       state.add_int (ref->referring->type);
+       state.merge_hash ((*result)->hash);
     }
 
   if (type == FUNC)