diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-03-02 10:26:27 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2022-03-02 10:26:27 +0100 |
commit | 31702fe9694e7ebeab91805e7121a1a757c108bd (patch) | |
tree | 2a170392e0c57329b57f04268ff477c5d8664a5a /gcc | |
parent | 02c808938e798d28c6d57d4f44904e2d065b80d0 (diff) | |
download | gcc-31702fe9694e7ebeab91805e7121a1a757c108bd.zip gcc-31702fe9694e7ebeab91805e7121a1a757c108bd.tar.gz gcc-31702fe9694e7ebeab91805e7121a1a757c108bd.tar.bz2 |
strlen: Comment spelling fixes
This fixes some comment spelling bugs in tree-ssa-strlen.cc.
2022-03-02 Jakub Jelinek <jakub@redhat.com>
* tree-ssa-strlen.cc (strlen_pass::handle_assign,
strlen_pass::before_dom_children): Comment spelling fixes.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/tree-ssa-strlen.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-strlen.cc b/gcc/tree-ssa-strlen.cc index 7370516..112f0dc 100644 --- a/gcc/tree-ssa-strlen.cc +++ b/gcc/tree-ssa-strlen.cc @@ -5573,7 +5573,7 @@ strlen_pass::handle_integral_assign (bool *cleanup_eh) } /* Handle assignment statement at *GSI to LHS. Set *ZERO_WRITE if - the assignent stores all zero bytes.. */ + the assignment stores all zero bytes. */ bool strlen_pass::handle_assign (tree lhs, bool *zero_write) @@ -5811,7 +5811,7 @@ strlen_pass::before_dom_children (basic_block bb) /* Attempt to optimize individual statements. */ for (m_gsi = gsi_start_bb (bb); !gsi_end_p (m_gsi); ) { - /* Reset search depth preformance counter. */ + /* Reset search depth performance counter. */ ptr_qry.depth = 0; if (check_and_optimize_stmt (&cleanup_eh)) |