https://gcc.gnu.org/g:236633fd74706f11044ea51306775a43c294da57

commit r16-3183-g236633fd74706f11044ea51306775a43c294da57
Author: Benjamin Wu <bw...@cs.washington.edu>
Date:   Wed Aug 13 10:48:34 2025 -0400

    c++: fix typo in comment
    
    gcc/cp/ChangeLog:
    
            * lex.cc (init_operators): Fix typo.

Diff:
---
 gcc/cp/lex.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/cp/lex.cc b/gcc/cp/lex.cc
index b7d2ac62b177..fa377e7783b4 100644
--- a/gcc/cp/lex.cc
+++ b/gcc/cp/lex.cc
@@ -172,7 +172,7 @@ init_operators (void)
   /* This loop iterates backwards because we need to move the
      assignment operators down to their correct slots.  I.e. morally
      equivalent to an overlapping memmove where dest > src.  Slot
-     zero is for error_mark, so hae no operator. */
+     zero is for error_mark, so has no operator.  */
   for (unsigned ix = OVL_OP_MAX; --ix;)
     {
       ovl_op_info_t *op_ptr = &ovl_op_info[false][ix];

Reply via email to