aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorXionghu Luo <xionghuluo@tencent.com>2022-06-22 15:18:39 +0800
committerXionghu Luo <xionghuluo@tencent.com>2022-06-23 11:00:02 +0800
commit3104a9fa7e704d859cec46afba8b51cb1a233b40 (patch)
treea5ff23c1ef965c74703ba246a0fa9c798e081952 /gcc
parent5d0cf158229acc8e3ebd9a12fa2a670d3c34f513 (diff)
downloadgcc-3104a9fa7e704d859cec46afba8b51cb1a233b40.zip
gcc-3104a9fa7e704d859cec46afba8b51cb1a233b40.tar.gz
gcc-3104a9fa7e704d859cec46afba8b51cb1a233b40.tar.bz2
Fix typo
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cgraph.cc2
-rw-r--r--gcc/tree-ssa-loop-ivopts.cc2
-rw-r--r--gcc/tree-switch-conversion.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cgraph.cc b/gcc/cgraph.cc
index 7eeda53..8d6ed38 100644
--- a/gcc/cgraph.cc
+++ b/gcc/cgraph.cc
@@ -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. */
+ about indirect edge. */
gcc_checking_assert (e->callee);
cgraph_edge *indirect = e->speculative_call_indirect_edge ();
gcall *new_stmt;
diff --git a/gcc/tree-ssa-loop-ivopts.cc b/gcc/tree-ssa-loop-ivopts.cc
index 549168a..a6f926a 100644
--- a/gcc/tree-ssa-loop-ivopts.cc
+++ b/gcc/tree-ssa-loop-ivopts.cc
@@ -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. */
diff --git a/gcc/tree-switch-conversion.h b/gcc/tree-switch-conversion.h
index 2b677d9..4063a6c 100644
--- a/gcc/tree-switch-conversion.h
+++ b/gcc/tree-switch-conversion.h
@@ -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