gimple-ssa.h (struct gimple_df): Remove modified_noreturn_calls field.

2015-12-17  Richard Biener  <rguenther@suse.de>

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

From-SVN: r231751
This commit is contained in:
Richard Biener 2015-12-17 10:15:03 +00:00 committed by Richard Biener
parent 01704e5ad9
commit 38fc3edcb9
3 changed files with 9 additions and 8 deletions

View file

@ -1,3 +1,9 @@
2015-12-17 Richard Biener <rguenther@suse.de>
* 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 <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/67973

View file

@ -44,6 +44,9 @@ struct tm_restart_hasher : ggc_ptr_hash<tm_restart_node>
}
};
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<tree_node>
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;

View file

@ -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. */