From: Thomas Preud'homme Date: Tue, 10 Mar 2015 07:35:09 +0000 (+0000) Subject: dominance.c (nearest_common_dominator_for_set): Fix A_Dominated_by_B code in comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=048f1a9c54e6d33a895770db2a0bf0f06eb25760;p=gcc.git dominance.c (nearest_common_dominator_for_set): Fix A_Dominated_by_B code in comment. 2015-03-10 Thomas Preud'homme * dominance.c (nearest_common_dominator_for_set): Fix A_Dominated_by_B code in comment. From-SVN: r221303 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0ba2886d66e..47de3b9c4c6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-03-10 Thomas Preud'homme + + * dominance.c (nearest_common_dominator_for_set): Fix A_Dominated_by_B + code in comment. + 2015-03-10 Jakub Jelinek PR rtl-optimization/65321 diff --git a/gcc/dominance.c b/gcc/dominance.c index 33d4ae4033f..09c8c90eebe 100644 --- a/gcc/dominance.c +++ b/gcc/dominance.c @@ -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); } */