[gcc(refs/users/pheeck/heads/sccp)] Fix comment typos noticed by Bernhard

Filip Kastl pheeck@gcc.gnu.org
Wed Feb 15 10:20:51 GMT 2023


https://gcc.gnu.org/g:db9c2a1067b05b84870dec7b934f32ef4f18f6a9

commit db9c2a1067b05b84870dec7b934f32ef4f18f6a9
Author: Jeff Law <jlaw@ventanamicro.com>
Date:   Tue Nov 22 16:22:18 2022 -0700

    Fix comment typos noticed by Bernhard
    
    gcc/
            * tree-ssa-dom.cc (record_edge_info): Fix comment typos.

Diff:
---
 gcc/tree-ssa-dom.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/tree-ssa-dom.cc b/gcc/tree-ssa-dom.cc
index c7f095d79fc..e82f4f73a66 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;


More information about the Gcc-cvs mailing list