diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-30 02:45:54 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-30 02:45:54 +0000 |
commit | 988cf7b9a0ebcedace75d7ee9b609424cade7cec (patch) | |
tree | c055c1c170c01ef4e61d0784cef0bc2b574383cf /gcc/lto | |
parent | 7e05d686e0382446a0319ea33d60edaf51116aeb (diff) | |
download | gcc-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/lto')
-rw-r--r-- | gcc/lto/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/lto/lto.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 0815e584190..ff8a213ab62 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,6 +1,10 @@ +2015-04-29 Jan Hubicka <hubicka@ucw.cz> + + * lto.c (lto_fixup_state): Call verify_type. + 2015-04-18 Trevor Saunders <tsaunders@mozilla.com> - * lto.c: Adjust for hash_table changes. + * lto.c: Adjust for hash_table changes. 2015-03-27 Jan Hubicka <hubicka@ucw.cz> diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c index f3458c7a72c..4b4005b4b36 100644 --- a/gcc/lto/lto.c +++ b/gcc/lto/lto.c @@ -2844,6 +2844,10 @@ lto_fixup_state (struct lto_in_decl_state *state) for (i = 0; i < vec_safe_length (trees); i++) { tree t = (*trees)[i]; +#ifdef ENABLE_CHECKING + if (TYPE_P (t)) + verify_type (t); +#endif if (VAR_OR_FUNCTION_DECL_P (t) && (TREE_PUBLIC (t) || DECL_EXTERNAL (t))) (*trees)[i] = lto_symtab_prevailing_decl (t); |