diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-05-03 12:15:05 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-05-03 12:15:05 +0000 |
commit | 6fe63fb43f5ff71bbd5ba4b3e6128bfdd5efe37d (patch) | |
tree | 5e19613b53174533182ee0857af5ce77c9c9f137 /gcc/gcc.c | |
parent | 49ab46214e9288ee1268f87ddcd64dacfd21c31d (diff) | |
download | gcc-6fe63fb43f5ff71bbd5ba4b3e6128bfdd5efe37d.zip gcc-6fe63fb43f5ff71bbd5ba4b3e6128bfdd5efe37d.tar.gz gcc-6fe63fb43f5ff71bbd5ba4b3e6128bfdd5efe37d.tar.bz2 |
Canonicalize canonical type hashing
Canonicalize canonical type hashing
gcc/
* tree.h (type_hash_canon_hash): Declare.
* tree.c (type_hash_list, attribute_hash_list): Move into
type_hash_canon_hash.
(build_type_attribute_qual_variant): Break out hash code calc into
type_hash_canon_hash.
(type_hash_canon_hash): New. Generic type hash computation.
(build_range_type_1, build_array_type_1, build_function_type)
build_method_type_directly, build_offset_type, build_complex_type,
make_vector_type): Call it.
gcc/c-family/
* c-common.c (complete_array_type): Use type_hash_canon.
(--This line, and those below, will be ignored--
M gcc/tree.c
M gcc/tree.h
M gcc/c-family/ChangeLog
M gcc/c-family/c-common.c
M gcc/ChangeLog
From-SVN: r247546
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions