From: Richard Biener Date: Thu, 17 Dec 2015 10:15:03 +0000 (+0000) Subject: gimple-ssa.h (struct gimple_df): Remove modified_noreturn_calls field. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38fc3edcb9397eb37ce98ceee210eac823e6a92c;p=gcc.git gimple-ssa.h (struct gimple_df): Remove modified_noreturn_calls field. 2015-12-17 Richard Biener * gimple-ssa.h (struct gimple_df): Remove modified_noreturn_calls field. * tree-ssa.c (delete_tree_ssa): Do not zero it. From-SVN: r231751 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0204cc46495..d992910f393 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-12-17 Richard Biener + + * gimple-ssa.h (struct gimple_df): Remove modified_noreturn_calls + field. + * tree-ssa.c (delete_tree_ssa): Do not zero it. + 2015-12-17 Rainer Orth PR target/67973 diff --git a/gcc/gimple-ssa.h b/gcc/gimple-ssa.h index 39551dac418..3fd3b6b9b1d 100644 --- a/gcc/gimple-ssa.h +++ b/gcc/gimple-ssa.h @@ -44,6 +44,9 @@ struct tm_restart_hasher : ggc_ptr_hash } }; +extern void gt_ggc_mx (gimple *&); +extern void gt_pch_nx (gimple *&); + struct ssa_name_hasher : ggc_ptr_hash { /* Hash a tree in a uid_decl_map. */ @@ -67,13 +70,6 @@ struct ssa_name_hasher : ggc_ptr_hash gimple_ accessor defined, all publicly modifiable fields should have gimple_set accessor. */ struct GTY(()) gimple_df { - /* A vector of all the noreturn calls passed to modify_stmt. - cleanup_control_flow uses it to detect cases where a mid-block - indirect call has been turned into a noreturn call. When this - happens, all the instructions after the call are no longer - reachable and must be deleted as dead. */ - vec *modified_noreturn_calls; - /* Array of all SSA_NAMEs used in the function. */ vec *ssa_names; diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index ddc7a657cbd..07a189f6a6b 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -1124,7 +1124,6 @@ delete_tree_ssa (struct function *fn) if (fn->gimple_df->decls_to_pointers != NULL) delete fn->gimple_df->decls_to_pointers; fn->gimple_df->decls_to_pointers = NULL; - fn->gimple_df->modified_noreturn_calls = NULL; fn->gimple_df = NULL; /* We no longer need the edge variable maps. */