summaryrefslogtreecommitdiff
path: root/gcc/dominance.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-13 02:27:04 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-13 02:27:04 +0000
commitbef304b8b52eab3ee756fceadade96d3410ed78e (patch)
tree53bc6532998c58f2c87be78479fff08b511afc9a /gcc/dominance.c
parented1dc2cd1ec1aafbcac80f88f3dc858c27b1d4f0 (diff)
downloadgcc-bef304b8b52eab3ee756fceadade96d3410ed78e.tar.gz
* auto-inc-dec.c, c-incpath.c, config/c4x/libgcc.S,
config/sh/divcost-analysis, dbgcnt.def, df-core.c, df-problems.c, df-scan.c, df.h, dominance.c, dse.c, regstat.c, tree-data-ref.c, tree-ssa-loop-im.c, tree-ssa-loop-prefetch.c, tree-vect-transform.c: Fix comment typos. Follow spelling conventions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125666 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dominance.c')
-rw-r--r--gcc/dominance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dominance.c b/gcc/dominance.c
index 6fa765ca3dc..ed64c4f74cf 100644
--- a/gcc/dominance.c
+++ b/gcc/dominance.c
@@ -1242,9 +1242,9 @@ iterate_fix_dominators (enum cdi_direction dir, VEC (basic_block, heap) *bbs,
Then, we need to establish the dominance relation among the basic blocks
in BBS. We split the dominance tree by removing the immediate dominator
- edges from BBS, creating a forrest F. We form a graph G whose vertices
+ edges from BBS, creating a forest F. We form a graph G whose vertices
are BBS and ENTRY and X -> Y is an edge of G if there exists an edge
- X' -> Y in CFG such that X' belongs to the tree of the dominance forrest
+ X' -> Y in CFG such that X' belongs to the tree of the dominance forest
whose root is X. We then determine dominance tree of G. Note that
for X, Y in BBS, X dominates Y in CFG if and only if X dominates Y in G.
In this step, we can use arbitrary algorithm to determine dominators.