diff options
author | Richard Guenther <rguenther@suse.de> | 2010-09-10 15:40:05 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-09-10 15:40:05 +0000 |
commit | bedbdfcfb63b3a05dc58326f424d5ab07f0d05ce (patch) | |
tree | efaf9c669cfb8da62589ecfaa1ee5183abefa6cc /gcc/tree.c | |
parent | cf6a409750631fd7ae7b168a94967a33d509be5d (diff) | |
download | gcc-bedbdfcfb63b3a05dc58326f424d5ab07f0d05ce.zip gcc-bedbdfcfb63b3a05dc58326f424d5ab07f0d05ce.tar.gz gcc-bedbdfcfb63b3a05dc58326f424d5ab07f0d05ce.tar.bz2 |
tree.c (make_vector_type): Do not set TYPE_DEBUG_REPRESENTATION_TYPE.
2010-09-10 Richard Guenther <rguenther@suse.de>
* tree.c (make_vector_type): Do not set TYPE_DEBUG_REPRESENTATION_TYPE.
* tree.h (TYPE_DEBUG_REPRESENTATION_TYPE): Remove.
* lto-streamer-out.c (lto_output_ts_type_tree_pointers): Do
not stream TYPE_DEBUG_REPRESENTATION_TYPE.
* lto-streamer-in.c (lto_input_ts_type_tree_pointers): Likewise.
From-SVN: r164193
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -8792,24 +8792,6 @@ make_vector_type (tree innertype, int nunits, enum machine_mode mode) layout_type (t); - { - tree index = build_int_cst (NULL_TREE, nunits - 1); - tree array = build_array_type (TYPE_MAIN_VARIANT (innertype), - build_index_type (index)); - tree rt = make_node (RECORD_TYPE); - - TYPE_FIELDS (rt) = build_decl (UNKNOWN_LOCATION, FIELD_DECL, - get_identifier ("f"), array); - DECL_CONTEXT (TYPE_FIELDS (rt)) = rt; - layout_type (rt); - TYPE_DEBUG_REPRESENTATION_TYPE (t) = rt; - /* In dwarfout.c, type lookup uses TYPE_UID numbers. We want to output - the representation type, and we want to find that die when looking up - the vector type. This is most easily achieved by making the TYPE_UID - numbers equal. */ - TYPE_UID (rt) = TYPE_UID (t); - } - hashcode = iterative_hash_host_wide_int (VECTOR_TYPE, hashcode); hashcode = iterative_hash_host_wide_int (nunits, hashcode); hashcode = iterative_hash_host_wide_int (mode, hashcode); |