aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-core.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-08-16 19:42:28 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-08-16 19:42:28 +0000
commit8e093270e1cc952291c76a72b11aef538ed2830d (patch)
treed94401e00911f189ce0200934a358febe2d2cbd8 /gcc/tree-core.h
parentd001563319c4f599f04018acc6c497fbd67450d4 (diff)
downloadgcc-8e093270e1cc952291c76a72b11aef538ed2830d.zip
gcc-8e093270e1cc952291c76a72b11aef538ed2830d.tar.gz
gcc-8e093270e1cc952291c76a72b11aef538ed2830d.tar.bz2
tree-core.h (tree_type_non_common): Rename binfo to lang_1.
* tree-core.h (tree_type_non_common): Rename binfo to lang_1. * tree.h (TYPE_BINFO): Use type_non_common.maxval. (TYPE_LANG_SLOT_1): Use type_non_common.lang_1, for any type. * tree.c (free_lang_data_in_type): Use else-if chain. Always clear TYPE_LANG_1. Remove obsolete member-function stripping. (find_decls_types_r): Comment about TYPE_MAX_VALUES_RAW. (verify_type): Adjust for TYPE_BINFO move. * lto-streamer-out.c (DFS::DFS_write_tree_body): No need to process TYPE_BINFO directly. (hash_tree): Likewise. * tree-streamer-in.c (lto_input_ts_type_non_common_tree_pointers): Likewise. * tree-streamer-out.c (write_ts_type_non_common_tree_pointers): Likewise. lto/ * lto.c (mentions_vars_p_type): Use TYPE_LANG_SLOT_1. (compare_tree_sccs_1): No need to compare TYPE_BINFO directly. (lto_fixup_prevailing_decls): Use TYPE_LANG_SLOT_1. From-SVN: r251129
Diffstat (limited to 'gcc/tree-core.h')
-rw-r--r--gcc/tree-core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-core.h b/gcc/tree-core.h
index 278d0c9..5b9ca38 100644
--- a/gcc/tree-core.h
+++ b/gcc/tree-core.h
@@ -1552,7 +1552,7 @@ struct GTY(()) tree_type_non_common {
tree values;
tree minval;
tree maxval;
- tree binfo;
+ tree lang_1;
};
struct GTY (()) tree_binfo {