aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dom.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>2005-01-17 21:38:59 -0700
committerJeff Law <law@gcc.gnu.org>2005-01-17 21:38:59 -0700
commite1b83ac7fb32ca56fe0bf5ebfbb052b0054a39c3 (patch)
tree4a7e1ae251844f34fc274770fa671925e904c4b8 /gcc/tree-ssa-dom.c
parent0bd6548378990d80f8cfc0fb33766ac253296f50 (diff)
downloadgcc-e1b83ac7fb32ca56fe0bf5ebfbb052b0054a39c3.zip
gcc-e1b83ac7fb32ca56fe0bf5ebfbb052b0054a39c3.tar.gz
gcc-e1b83ac7fb32ca56fe0bf5ebfbb052b0054a39c3.tar.bz2
Opps. Committed wrong version.
From-SVN: r93812
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r--gcc/tree-ssa-dom.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index 287419f..35847ec 100644
--- a/gcc/tree-ssa-dom.c
+++ b/gcc/tree-ssa-dom.c
@@ -455,6 +455,9 @@ tree_ssa_dominator_optimize (void)
htab_empty (avail_exprs);
htab_empty (vrp_data);
+ for (i = 0; i < num_referenced_vars; i++)
+ var_ann (referenced_var (i))->current_def = NULL;
+
/* Finally, remove everything except invariants in SSA_NAME_VALUE.
This must be done before we iterate as we might have a