public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7445] strlen: Comment spelling fixes
@ 2022-03-02 9:26 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2022-03-02 9:26 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:31702fe9694e7ebeab91805e7121a1a757c108bd
commit r12-7445-g31702fe9694e7ebeab91805e7121a1a757c108bd
Author: Jakub Jelinek <jakub@redhat.com>
Date: Wed Mar 2 10:26:27 2022 +0100
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.
Diff:
---
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 7370516da45..112f0dce874 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))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-02 9:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 9:26 [gcc r12-7445] strlen: Comment spelling fixes Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).