public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix PR68117
@ 2015-11-19  8:44 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2015-11-19  8:44 UTC (permalink / raw)
  To: gcc-patches


I'm reverting an earlier change removing the redirect_edge_var_map_destroy
call from delete_tree_ssa.

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

Richard.

2015-11-19  Richard Biener  <rguenther@suse.de>

	PR middle-end/68117
	* tree-ssa.c (delete_tree_ssa): Revert removal of call to
	redirect_edge_var_map_destroy.

Index: gcc/tree-ssa.c
===================================================================
--- gcc/tree-ssa.c	(revision 230550)
+++ gcc/tree-ssa.c	(working copy)
@@ -1126,6 +1126,9 @@ delete_tree_ssa (struct function *fn)
   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.  */
+  redirect_edge_var_map_destroy ();
 }
 
 /* Return true if EXPR is a useless type conversion, otherwise return

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-19  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-19  8:44 [PATCH] Fix PR68117 Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).