aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2018-11-06 13:46:46 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2018-11-06 12:46:46 +0000
commitbd78c6d5b2c7e6e2c6e99032454bc6de8c39d238 (patch)
treeca048f7076f2a072ec7dc663415531cd7c17755d /gcc/tree.c
parentbfb9d79805753fd6cc69bb114b5c6597269f3e21 (diff)
downloadgcc-bd78c6d5b2c7e6e2c6e99032454bc6de8c39d238.zip
gcc-bd78c6d5b2c7e6e2c6e99032454bc6de8c39d238.tar.gz
gcc-bd78c6d5b2c7e6e2c6e99032454bc6de8c39d238.tar.bz2
ipa-pure-const.c (check_decl): Do not test TYPE_NEEDS_CONSTRUCTING.
* ipa-pure-const.c (check_decl): Do not test TYPE_NEEDS_CONSTRUCTING. * lto-streamer-out.c (hash_tree): Do not hash TYPE_NEEDS_CONSTRUCTING. * tree-streamer-in.c (unpack_ts_type_common_value_fields): Do not stream TYPE_NEEDS_CONSTRUCTING. * tree-streamer-out.c (pack_ts_type_common_value_fields): Likewise. * tree.c (free_lang_data_in_type): Clear TYPE_NEEDS_CONSTRUCTING. From-SVN: r265841
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 5647824..a6b187c 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -5259,6 +5259,8 @@ free_lang_data_in_type (tree type)
TREE_LANG_FLAG_5 (type) = 0;
TREE_LANG_FLAG_6 (type) = 0;
+ TYPE_NEEDS_CONSTRUCTING (type) = 0;
+
if (TREE_CODE (type) == FUNCTION_TYPE)
{
/* Remove the const and volatile qualifiers from arguments. The