summaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-16 14:06:08 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-16 14:06:08 +0000
commit3e292d1741059c6ff664afcb7714fb5a3383d02c (patch)
treecfda9bc2284a2ab85d7f0eadb798030e7f577a86 /gcc/cfgexpand.c
parentb8c0e65c4cd1a2666d24809a7fc61b4e118674af (diff)
downloadgcc-3e292d1741059c6ff664afcb7714fb5a3383d02c.tar.gz
2015-11-16 Richard Biener <rguenther@suse.de>
PR middle-end/68117 * cfgexpand.c (pass_expand::execute): Destroy the edge redirection var map before setting RTL CFG hooks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230424 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index ae893527a0f..e55467a6bfe 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -6275,6 +6275,9 @@ pass_expand::execute (function *fun)
expand_phi_nodes (&SA);
+ /* Release any stale SSA redirection data. */
+ redirect_edge_var_map_destroy ();
+
/* Register rtl specific functions for cfg. */
rtl_register_cfg_hooks ();