aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-10-07 09:08:46 +0200
committerJakub Jelinek <jakub@redhat.com>2022-10-07 09:08:46 +0200
commite66236c6e9eb83730dde15f359f2a21cb603887b (patch)
tree7593038711f21bce00e300f543bfbfb3af55325d /gcc/tree-inline.cc
parent88f04e90f63f08620cc9cd2f059a1315b70bed3b (diff)
downloadgcc-e66236c6e9eb83730dde15f359f2a21cb603887b.zip
gcc-e66236c6e9eb83730dde15f359f2a21cb603887b.tar.gz
gcc-e66236c6e9eb83730dde15f359f2a21cb603887b.tar.bz2
Fix comment typos
When looking at tree-inline.cc I've noticed a comment typo and grepped for similar typos elsewhere. 2022-10-07 Jakub Jelinek <jakub@redhat.com> * ipa-prop.h (ipa_constant_data): Fix comment typo. * value-range.cc (irange::irange_contains_p): Likewise. * value-relation.cc (dom_oracle::set_one_relation): Likewise. * gimple-predicate-analysis.cc (predicate::simplify_4): Likewise. * tree-inline.cc (remap_ssa_name): Likewise.
Diffstat (limited to 'gcc/tree-inline.cc')
-rw-r--r--gcc/tree-inline.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.cc b/gcc/tree-inline.cc
index 043e1d5..01d4700 100644
--- a/gcc/tree-inline.cc
+++ b/gcc/tree-inline.cc
@@ -171,7 +171,7 @@ remap_ssa_name (tree name, copy_body_data *id)
n = id->decl_map->get (name);
if (n)
{
- /* WHen we perform edge redirection as part of CFG copy, IPA-SRA can
+ /* When we perform edge redirection as part of CFG copy, IPA-SRA can
remove an unused LHS from a call statement. Such LHS can however
still appear in debug statements, but their value is lost in this
function and we do not want to map them. */