https://gcc.gnu.org/g:30e1c3d7e828b2bf2eee1660661bbc79f4151bd6

commit r14-9495-g30e1c3d7e828b2bf2eee1660661bbc79f4151bd6
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Fri Mar 15 12:20:04 2024 +0100

    lower-subreg, edit-context: Fix comment typos
    
    When backporting r14-9315 to 13 branch, I've noticed I've missed
    one letter in a comment.  And grepping for similar issues I found
    one word with too many.
    
    2024-03-15  Jakub Jelinek  <ja...@redhat.com>
    
            * lower-subreg.cc (resolve_simple_move): Fix comment typo,
            betwee -> between.
            * edit-context.cc (class line_event): Fix comment typo,
            betweeen -> between.

Diff:
---
 gcc/edit-context.cc | 2 +-
 gcc/lower-subreg.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/edit-context.cc b/gcc/edit-context.cc
index b02da6e809e..37ac4989de0 100644
--- a/gcc/edit-context.cc
+++ b/gcc/edit-context.cc
@@ -129,7 +129,7 @@ class added_line
 };
 
 /* Class for representing edit events that have occurred on one line of
-   one file: the replacement of some text betweeen some columns
+   one file: the replacement of some text between some columns
    on the line.
 
    Subsequent events will need their columns adjusting if they're
diff --git a/gcc/lower-subreg.cc b/gcc/lower-subreg.cc
index 2f7f0a83e23..d1da94336e7 100644
--- a/gcc/lower-subreg.cc
+++ b/gcc/lower-subreg.cc
@@ -933,7 +933,7 @@ resolve_simple_move (rtx set, rtx_insn *insn)
              if (reg_overlap_mentioned_p (XVECEXP (dest, 0, 0),
                                           XVECEXP (src, 0, 1)))
                {
-                 /* If there is overlap betwee the first half of the
+                 /* If there is overlap between the first half of the
                     destination and what will be stored to the second one,
                     use a temporary pseudo.  See PR114211.  */
                  rtx tem = gen_reg_rtx (GET_MODE (XVECEXP (src, 0, 1)));

Reply via email to