]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix typo
authorXionghu Luo <xionghuluo@tencent.com>
Wed, 22 Jun 2022 07:18:39 +0000 (15:18 +0800)
committerXionghu Luo <xionghuluo@tencent.com>
Thu, 23 Jun 2022 03:00:02 +0000 (11:00 +0800)
Fix typo and commit as obvious.

Signed-off-by: Xionghu Luo <xionghuluo@tencent.com>
gcc/ChangeLog:

* cgraph.cc (cgraph_edge::redirect_call_stmt_to_callee): Fix
typo.
* tree-ssa-loop-ivopts.cc (struct iv_cand): Likewise.
* tree-switch-conversion.h: Likewise.

gcc/cgraph.cc
gcc/tree-ssa-loop-ivopts.cc
gcc/tree-switch-conversion.h

index 7eeda53ca8472afe3512a543697ebccff657703f..8d6ed38efa25de53c9b5ceb6d0a746cf943f4897 100644 (file)
@@ -1423,7 +1423,7 @@ cgraph_edge::redirect_call_stmt_to_callee (cgraph_edge *e)
       else
        {
          /* Be sure we redirect all speculative targets before poking
-            abou tindirect edge.  */
+            abouindirect edge.  */
          gcc_checking_assert (e->callee);
          cgraph_edge *indirect = e->speculative_call_indirect_edge ();
          gcall *new_stmt;
index 549168aebd632a63023f9ec2c92d74300ee208d5..a6f926a68ef13672398817a8d0fa951317225784 100644 (file)
@@ -469,7 +469,7 @@ struct iv_cand
   bitmap inv_vars;     /* The list of invariant ssa_vars used in step of the
                           iv_cand.  */
   bitmap inv_exprs;    /* If step is more complicated than a single ssa_var,
-                          hanlde it as a new invariant expression which will
+                          handle it as a new invariant expression which will
                           be hoisted out of loop.  */
   struct iv *orig_iv;  /* The original iv if this cand is added from biv with
                           smaller type.  */
index 2b677d9f7e9845da9469e6678a92f4aabb0ce0fe..4063a6c16a0370d01b71929ebcb032edae205f44 100644 (file)
@@ -249,7 +249,7 @@ public:
 
 /* Concrete subclass of group_cluster representing a collection
    of cases to be implemented as a jump table.
-   The "emit" vfunc gernerates a nested switch statement which
+   The "emit" vfunc generates a nested switch statement which
    is later lowered to a jump table.  */
 
 class jump_table_cluster: public group_cluster