From 31702fe9694e7ebeab91805e7121a1a757c108bd Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 2 Mar 2022 10:26:27 +0100 Subject: strlen: Comment spelling fixes This fixes some comment spelling bugs in tree-ssa-strlen.cc. 2022-03-02 Jakub Jelinek * tree-ssa-strlen.cc (strlen_pass::handle_assign, strlen_pass::before_dom_children): Comment spelling fixes. --- gcc/tree-ssa-strlen.cc | 4 ++-- 1 file 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)) -- cgit v1.1