dominance.c (nearest_common_dominator_for_set): Fix A_Dominated_by_B code in comment.
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Tue, 10 Mar 2015 07:35:09 +0000 (07:35 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Tue, 10 Mar 2015 07:35:09 +0000 (07:35 +0000)
2015-03-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    * dominance.c (nearest_common_dominator_for_set): Fix A_Dominated_by_B
    code in comment.

From-SVN: r221303

gcc/ChangeLog
gcc/dominance.c

index 0ba2886d66eda49c19fae9bc63dce846f3131f9b..47de3b9c4c63a77ad45a9a66ee0b8ca4765ba03e 100644 (file)
@@ -1,3 +1,8 @@
+2015-03-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * dominance.c (nearest_common_dominator_for_set): Fix A_Dominated_by_B
+       code in comment.
+
 2015-03-10  Jakub Jelinek  <jakub@redhat.com>
 
        PR rtl-optimization/65321
index 33d4ae4033fa30edc54473b6cfc03f95e51d1650..09c8c90eebe16fa23bab6c2192fe86ef18d83809 100644 (file)
@@ -982,7 +982,7 @@ nearest_common_dominator_for_set (enum cdi_direction dir, bitmap blocks)
 
    A_Dominated_by_B (node A, node B)
    {
-     return DFS_Number_In(A) >= DFS_Number_In(A)
+     return DFS_Number_In(A) >= DFS_Number_In(B)
             && DFS_Number_Out (A) <= DFS_Number_Out(B);
    }  */