diff mbox series

[committed] strlen: Comment spelling fixes

Message ID Yh84/lQqWyYcM0i2@tucnak
State New
Headers show
Series [committed] strlen: Comment spelling fixes | expand

Commit Message

Jakub Jelinek March 2, 2022, 9:29 a.m. UTC
Hi!

This fixes some comment spelling bugs in tree-ssa-strlen.cc.

Committed as obvious.

2022-03-02  Jakub Jelinek  <jakub@redhat.com>

	* tree-ssa-strlen.cc (strlen_pass::handle_assign,
	strlen_pass::before_dom_children): Comment spelling fixes.


	Jakub
diff mbox series

Patch

--- gcc/tree-ssa-strlen.cc.jj	2022-02-04 14:36:56.341586640 +0100
+++ gcc/tree-ssa-strlen.cc	2022-03-01 13:55:08.645284651 +0100
@@ -5573,7 +5573,7 @@  strlen_pass::handle_integral_assign (boo
 }
 
 /* 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_
   /* 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))