OSDN Git Service

2006-07-04 Paolo Bonzini <bonzini@gnu.org>
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Jul 2006 06:47:21 +0000 (06:47 +0000)
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Jul 2006 06:47:21 +0000 (06:47 +0000)
PR tree-optimization/28218

* tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
to calculate and free the dominator information.

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

gcc/ChangeLog
gcc/tree-ssa-math-opts.c

index c36dcc1..ba7b529 100644 (file)
@@ -1,3 +1,10 @@
+2006-07-04  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR tree-optimization/28218
+
+       * tree-ssa-math-opts.c (execute_cse_reciprocals): Fix calls
+       to calculate and free the dominator information.
+           
 2006-07-04  Peter O'Gorman  <peter@pogma.com>
 
        * mklibgcc.in: chmod 644 before ranlib during install.
index ee5ff8f..950b9aa 100644 (file)
@@ -489,7 +489,8 @@ execute_cse_reciprocals (void)
                                sizeof (struct occurrence),
                                n_basic_blocks / 3 + 1);
 
-  calculate_dominance_info (CDI_DOMINATORS | CDI_POST_DOMINATORS);
+  calculate_dominance_info (CDI_DOMINATORS);
+  calculate_dominance_info (CDI_POST_DOMINATORS);
 
 #ifdef ENABLE_CHECKING
   FOR_EACH_BB (bb)
@@ -526,7 +527,8 @@ execute_cse_reciprocals (void)
        }
     }
 
-  free_dominance_info (CDI_DOMINATORS | CDI_POST_DOMINATORS);
+  free_dominance_info (CDI_DOMINATORS);
+  free_dominance_info (CDI_POST_DOMINATORS);
   free_alloc_pool (occ_pool);
   return 0;
 }