aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-11-16 14:06:08 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-11-16 14:06:08 +0000
commit0d334e376569c1585061f81e0b4ce80b1dfadd41 (patch)
treecfda9bc2284a2ab85d7f0eadb798030e7f577a86 /gcc/cfgexpand.c
parentdef4ad19eaded4a94c98dc25f2b7f7e335b5333a (diff)
downloadgcc-0d334e376569c1585061f81e0b4ce80b1dfadd41.zip
gcc-0d334e376569c1585061f81e0b4ce80b1dfadd41.tar.gz
gcc-0d334e376569c1585061f81e0b4ce80b1dfadd41.tar.bz2
re PR middle-end/68117 (error: invalid PHI argument <<< Unknown tree: <invalid tree code> >>>)
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. From-SVN: r230424
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 ae89352..e55467a 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 ();