* tree-ssa-dom.c (tree_ssa_dominator_optimize):
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Oct 2004 13:19:20 +0000 (13:19 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Oct 2004 13:19:20 +0000 (13:19 +0000)
Initialize OPT_STATS to 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88484 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-dom.c

index 663896f..780e06d 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-04  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-ssa-dom.c (tree_ssa_dominator_optimize):
+       Initialize OPT_STATS to 0.
+
 2004-10-04  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-data-ref.c: Fix comment typos.
index 7e522d9..5d545bd 100644 (file)
@@ -294,6 +294,8 @@ tree_ssa_dominator_optimize (void)
   struct dom_walk_data walk_data;
   unsigned int i;
 
+  memset (&opt_stats, 0, sizeof (opt_stats));
+
   for (i = 0; i < num_referenced_vars; i++)
     var_ann (referenced_var (i))->current_def = NULL;