hash-traits.h (free_ptr_hash): New class.
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 25 Jun 2015 17:06:24 +0000 (17:06 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 25 Jun 2015 17:06:24 +0000 (17:06 +0000)
commit95fbe13e99744b36691495fd81934ccee963c0a3
tree58d174cfbabc3960fc80489c30c5371b65ae2a61
parent8d67ee553dc97016a8248b95bfced8f7f5d06663
hash-traits.h (free_ptr_hash): New class.

gcc/
* hash-traits.h (free_ptr_hash): New class.
* dwarf2out.c (decl_table_entry_hasher): Inherit from free_ptr_hash
rather than typed_free_remove.  Remove redudant typedefs.
(external_ref_hasher): Likewise.
* except.c (action_record_hasher, ttypes_filter_hasher): Likewise.
(ehspec_hasher): Likewise.
* ggc-common.c (saving_hasher): Likewise.
* gimplify.c (gimplify_hasher): Likewise.
* haifa-sched.c (delay_i2_hasher): Likewise.
* loop-invariant.c (invariant_expr_hasher): Likewise.
* loop-iv.c (biv_entry_hasher): Likewise.
* loop-unroll.c (iv_split_hasher, var_expand_hasher): Likewise.
* trans-mem.c (tm_mem_map_hasher, tm_memop_hasher): Likewise.
* tree-cfg.c (locus_discrim_hasher): Likewise.
* tree-eh.c (finally_tree_hasher): Likewise.
* tree-into-ssa.c (var_info_hasher): Likewise.
* tree-parloops.c (reduction_hasher, name_to_copy_hasher): Likewise.
* tree-ssa-loop-ivopts.c (iv_inv_expr_hasher): Likewise.
* tree-ssa-phiopt.c (ssa_names_hasher): Likewise.
* tree-ssa-pre.c (expr_pred_trans_d): Likewise.
* tree-ssa-sccvn.c (vn_constant_hasher): Likewise.
* tree-ssa-structalias.c (equiv_class_hasher): Likewise.
(shared_bitmap_hasher): Likewise.
* tree-ssa-threadupdate.c (redirection_data): Likewise.
* tree-vectorizer.h (peel_info_hasher): Likewise.
* tree-vectorizer.c (simduid_to_vf, simd_array_to_simduid): Likewise.
* config/mips/mips.c (mips_lo_sum_offset_hasher): Likewise.

libcc1/
* plugin.cc (decl_addr_hasher): Inherit from free_ptr_hash
rather than typed_free_remove.  Remove redudant typedefs.

From-SVN: r224958
26 files changed:
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/dwarf2out.c
gcc/except.c
gcc/ggc-common.c
gcc/gimplify.c
gcc/haifa-sched.c
gcc/hash-traits.h
gcc/loop-invariant.c
gcc/loop-iv.c
gcc/loop-unroll.c
gcc/trans-mem.c
gcc/tree-cfg.c
gcc/tree-eh.c
gcc/tree-into-ssa.c
gcc/tree-parloops.c
gcc/tree-ssa-loop-ivopts.c
gcc/tree-ssa-phiopt.c
gcc/tree-ssa-pre.c
gcc/tree-ssa-sccvn.c
gcc/tree-ssa-structalias.c
gcc/tree-ssa-threadupdate.c
gcc/tree-vectorizer.c
gcc/tree-vectorizer.h
libcc1/ChangeLog
libcc1/plugin.cc