Bootstrapped on x86_64-unknown-linux-gnu, applied.

Richard.
2015-12-16  Richard Biener  <rguent...@suse.de>

        * gimple-ssa.h (struct gimple_df): Remove modified_noreturn_calls
        field.
        * tree-ssa.c (delete_tree_ssa): Do not zero it.

Index: gcc/gimple-ssa.h
===================================================================
--- gcc/gimple-ssa.h    (revision 231696)
+++ gcc/gimple-ssa.h    (working copy)
@@ -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<tree_node>
 {
   /* Hash a tree in a uid_decl_map.  */
@@ -67,13 +70,6 @@ struct ssa_name_hasher : ggc_ptr_hash<tr
    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<gimple *, va_gc> *modified_noreturn_calls;
-
   /* Array of all SSA_NAMEs used in the function.  */
   vec<tree, va_gc> *ssa_names;
 
Index: gcc/tree-ssa.c
===================================================================
--- gcc/tree-ssa.c      (revision 231696)
+++ gcc/tree-ssa.c      (working copy)
@@ -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.  */

Reply via email to