aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2015-04-30 02:45:54 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2015-04-30 02:45:54 +0000
commitb0845a1e51f8c1f3e9e02049a2407321e22ad0b9 (patch)
treec055c1c170c01ef4e61d0784cef0bc2b574383cf /gcc/tree.h
parente022edafa0e797ed9c15663e083bbaa3f4b8dff7 (diff)
downloadgcc-b0845a1e51f8c1f3e9e02049a2407321e22ad0b9.zip
gcc-b0845a1e51f8c1f3e9e02049a2407321e22ad0b9.tar.gz
gcc-b0845a1e51f8c1f3e9e02049a2407321e22ad0b9.tar.bz2
dwarf2out.c (gen_type_die_with_usage): Call verify_type.
* 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. From-SVN: r222606
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 e17bd9b..1974186 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 *);