summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-18 04:38:59 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-18 04:38:59 +0000
commit0f9628989cba57915280082cc75194585348e22d (patch)
tree4a7e1ae251844f34fc274770fa671925e904c4b8
parent7414901f737ca65934f900a4ba6374c7bb8e3517 (diff)
downloadgcc-0f9628989cba57915280082cc75194585348e22d.tar.gz
Opps. Committed wrong version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93812 138bc75d-0d04-0410-961f-82ee72b054a4
-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 287419feb17..35847ec3f28 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