Convert the tree.c type hashing over to inchash
commit045e2f278f9364a1a352b2e96d1dc48e23c5f8f2
authorak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jul 2014 13:39:36 +0000 (25 13:39 +0000)
committerak <ak@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Jul 2014 13:39:36 +0000 (25 13:39 +0000)
tree6647dfd08c4e561eeddc5c97f3e108674d6eac43
parente7f95d73efa84f5121ee279b48c6425b29a61268
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213056 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/tree.c
gcc/tree.h