summaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-30 02:45:54 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-04-30 02:45:54 +0000
commit988cf7b9a0ebcedace75d7ee9b609424cade7cec (patch)
treec055c1c170c01ef4e61d0784cef0bc2b574383cf /gcc/tree.h
parent7e05d686e0382446a0319ea33d60edaf51116aeb (diff)
downloadgcc-988cf7b9a0ebcedace75d7ee9b609424cade7cec.tar.gz
* dwarf2out.c (gen_type_die_with_usage): Call verify_type.
* ipa-chkp.c (chkp_copy_function_type_adding_bounds): Do not produce bugus variants. * tree.c: Include print-tree.h and ipa-utils.h (free_lang_data_in_type): Clear TYPE_VFIELD leaked by C FE. (free_lang_data_in_cgraph): Call verify_type. (verify_type_variant): New function. (verify_type): New function. * tree.h (verify_type): Declare. * lto.c (lto_fixup_state): Call verify_type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222606 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index e17bd9b1109..19741869b48 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4501,6 +4501,7 @@ extern tree drop_tree_overflow (tree);
extern int tree_map_base_eq (const void *, const void *);
extern unsigned int tree_map_base_hash (const void *);
extern int tree_map_base_marked_p (const void *);
+extern void DEBUG_FUNCTION verify_type (const_tree t);
#define tree_map_eq tree_map_base_eq
extern unsigned int tree_map_hash (const void *);