On 06/23/2015 08:53 AM, Richard Sandiford wrote:
After the previous patches in the series, there are three remaining hash
traits that use the key to represent empty and deleted entries. This patch
makes them use simple_hashmap_traits.
gcc/
* ipa-icf.h (symbol_compare_hash): New class.
(symbol_compare_hashmap_traits): Use it.
* mem-stats.h (mem_alloc_description::mem_location_hash): New class.
(mem_alloc_description::mem_alloc_hashmap_traits): Use it.
(mem_alloc_description::reverse_mem_map_t): Remove redundant
default_hashmap_traits.
* sanopt.c (sanopt_tree_triplet_hash): New class.
(sanopt_tree_triplet_map_traits): Use it.
OK.
jeff