Convert the tree.c type hashing over to inchash
authorAndi Kleen <ak@linux.intel.com>
Fri, 25 Jul 2014 13:39:36 +0000 (13:39 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Fri, 25 Jul 2014 13:39:36 +0000 (13:39 +0000)
commit56fdfd3e85567d87889962e0b08d9190b53bbea1
tree6647dfd08c4e561eeddc5c97f3e108674d6eac43
parent0bd8bb0476ac70d8beeddc9c6434771728df3831
Convert the tree.c type hashing over to inchash

v2: Use commutative interface. Be much nearer to the old
code.

gcc/:

2014-07-25  Andi Kleen  <ak@linux.intel.com>

* tree.c (build_type_attribute_qual_variant): Use inchash.
(type_hash_list): Dito.
(attribute_hash_list): Dito
(iterative_hstate_expr): Dito.
(iterative_hash_expr): Dito.
(build_range_type_1): Dito.
(build_array_type_1): Dito.
(build_function_type): Dito.
(build_method_type_directly): Dito.
(build_offset_type): Dito.
(build_complex_type): Dito.
(make_vector_type): Dito.
* tree.h (iterative_hash_expr): Add compat wrapper.
(iterative_hstate_expr): Add.

gcc/lto/:

2014-07-25  Andi Kleen  <ak@linux.intel.com>

* lto.c (hash_canonical_type): Call iterative_hstate_expr.

From-SVN: r213056
gcc/ChangeLog
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/tree.c
gcc/tree.h