diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-03-15 12:20:04 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2024-03-15 12:20:04 +0100 |
commit | 30e1c3d7e828b2bf2eee1660661bbc79f4151bd6 (patch) | |
tree | f909b95a4477bc611809e5d31f5a7946130a0dee /gcc | |
parent | ab2da8fb67b1aa0557a16b62689a888730dba610 (diff) | |
download | gcc-30e1c3d7e828b2bf2eee1660661bbc79f4151bd6.zip gcc-30e1c3d7e828b2bf2eee1660661bbc79f4151bd6.tar.gz gcc-30e1c3d7e828b2bf2eee1660661bbc79f4151bd6.tar.bz2 |
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 <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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/edit-context.cc | 2 | ||||
-rw-r--r-- | 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 b02da6e..37ac498 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 2f7f0a8..d1da943 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))); |