diff options
author | Richard Biener <rguenther@suse.de> | 2015-11-19 08:47:16 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-11-19 08:47:16 +0000 |
commit | bb35ccb1efb2c91d1eab17fc4fb26c8b2f32ebeb (patch) | |
tree | 616151e243bce022b79406b783da1daa206d1ff3 /gcc/tree-ssa.c | |
parent | 397d0df98c972375682078d74e90eaf4f09c3748 (diff) | |
download | gcc-bb35ccb1efb2c91d1eab17fc4fb26c8b2f32ebeb.zip gcc-bb35ccb1efb2c91d1eab17fc4fb26c8b2f32ebeb.tar.gz gcc-bb35ccb1efb2c91d1eab17fc4fb26c8b2f32ebeb.tar.bz2 |
re PR middle-end/68117 (error: invalid PHI argument <<< Unknown tree: <invalid tree code> >>>)
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
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r-- | gcc/tree-ssa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index 84a4d5b..02fca4c 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -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 |