summaryrefslogtreecommitdiff
path: root/gcc/dominance.c
diff options
context:
space:
mode:
authorthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-10 07:35:09 +0000
committerthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>2015-03-10 07:35:09 +0000
commitfeb4b951a80d6fab95a3df28d08ea3a0a6ed5a21 (patch)
tree01ad7dbce2c1aa4f4c0c5d0b2dba383848ccefb4 /gcc/dominance.c
parent16f958b3663cfcb8624e6b360c5142b5ba6979a4 (diff)
downloadgcc-feb4b951a80d6fab95a3df28d08ea3a0a6ed5a21.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221303 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dominance.c')
-rw-r--r--gcc/dominance.c2
1 files changed, 1 insertions, 1 deletions
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);
} */