public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] lower-subreg, edit-context: Fix comment typos
@ 2024-03-15 11:22 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2024-03-15 11:22 UTC (permalink / raw)
  To: gcc-patches

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.

--- 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

	Jakub


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-15 11:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-15 11:22 [committed] lower-subreg, edit-context: Fix comment typos Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).