diff mbox series

[committed] lower-subreg, edit-context: Fix comment typos

Message ID ZfQvc91fTkTii2zN@tucnak
State New
Headers show
Series [committed] lower-subreg, edit-context: Fix comment typos | expand

Commit Message

Jakub Jelinek March 15, 2024, 11:22 a.m. UTC
Hi!

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.

Committed to trunk as obvious.

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.


	Jakub
diff mbox series

Patch

--- gcc/lower-subreg.cc.jj	2024-03-05 10:32:32.502954822 +0100
+++ gcc/lower-subreg.cc	2024-03-15 12:18:03.189527341 +0100
@@ -933,7 +933,7 @@  resolve_simple_move (rtx set, rtx_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)));
--- gcc/edit-context.cc.jj	2024-01-03 11:51:33.746700448 +0100
+++ gcc/edit-context.cc	2024-03-15 12:18:21.702277391 +0100
@@ -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