re PR middle-end/68117 (error: invalid PHI argument <<< Unknown tree: <invalid tree...
authorRichard Biener <rguenther@suse.de>
Thu, 19 Nov 2015 08:47:16 +0000 (08:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 19 Nov 2015 08:47:16 +0000 (08:47 +0000)
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.

From-SVN: r230594

gcc/ChangeLog
gcc/tree-ssa.c

index 3ba93271b811797eaa83f829f979deff23b5fc77..ea632f60c19acd49f0cc19cc5999bcc0b09ee863 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2015-11-19  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/67770
index 84a4d5b9495897dc2726decf0df9dd91ecb85c00..02fca4c8e67a0cba5eea1d15ab89b646bc8e2d89 100644 (file)
@@ -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