aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro.com>2022-11-22 16:22:18 -0700
committerJeff Law <jlaw@ventanamicro.com>2022-11-22 16:23:11 -0700
commita03b35a28db262546415e8f16829cbb027a75025 (patch)
tree847754b048c089dde04da432db43dbf6d4ed8a2f
parentca73d4c80ea06087d9dd22594e5670bb15e21066 (diff)
downloadgcc-a03b35a28db262546415e8f16829cbb027a75025.zip
gcc-a03b35a28db262546415e8f16829cbb027a75025.tar.gz
gcc-a03b35a28db262546415e8f16829cbb027a75025.tar.bz2
Fix comment typos noticed by Bernhard
gcc/ * tree-ssa-dom.cc (record_edge_info): Fix comment typos.
-rw-r--r--gcc/tree-ssa-dom.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-dom.cc b/gcc/tree-ssa-dom.cc
index c7f095d..e82f4f7 100644
--- a/gcc/tree-ssa-dom.cc
+++ b/gcc/tree-ssa-dom.cc
@@ -673,10 +673,10 @@ record_edge_info (basic_block bb)
{
/* At this point we know the exit condition is loop
invariant. The only way to get out of the loop is
- if never traverses the backedge to begin with. This
- implies that any PHI nodes create equivalances we can
- attach to the loop exit edge. */
- int alternative
+ if it never traverses the backedge to begin with. This
+ implies that any PHI nodes create equivalances that we
+ can attach to the loop exit edge. */
+ int bool
= (EDGE_PRED (bb, 0)->flags & EDGE_DFS_BACK) ? 1 : 0;
gphi_iterator gsi;