]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
lower-subreg, edit-context: Fix comment typos
authorJakub Jelinek <jakub@redhat.com>
Fri, 15 Mar 2024 11:20:04 +0000 (12:20 +0100)
committerJakub Jelinek <jakub@redhat.com>
Fri, 15 Mar 2024 11:20:04 +0000 (12:20 +0100)
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  <jakub@redhat.com>

* lower-subreg.cc (resolve_simple_move): Fix comment typo,
betwee -> between.
* edit-context.cc (class line_event): Fix comment typo,
betweeen -> between.

gcc/edit-context.cc
gcc/lower-subreg.cc

index b02da6e809eab6c45a30c54ee1c11321b838a882..37ac4989de0b00de40448d0d8ee3c266b16d8ff1 100644 (file)
@@ -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
index 2f7f0a83e237ce234abc0621b7556acb5f8d633b..d1da94336e75369e4f5996fb84fc50761ce48cc5 100644 (file)
@@ -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)));