aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2020-03-14 08:15:08 +0100
committerJakub Jelinek <jakub@redhat.com>2020-03-14 08:15:08 +0100
commit53b28abf8e4ba37e47d3bb05476e0a80ae761567 (patch)
tree852c7ce396caa57ba7a3880fa4b07d539d6f11cb /gcc/config
parent0034955eb16f7a3a79e242750c27fcad62d90147 (diff)
downloadgcc-53b28abf8e4ba37e47d3bb05476e0a80ae761567.zip
gcc-53b28abf8e4ba37e47d3bb05476e0a80ae761567.tar.gz
gcc-53b28abf8e4ba37e47d3bb05476e0a80ae761567.tar.bz2
Fix doubled indefinite articles, mostly in comments.
2020-03-14 Jakub Jelinek <jakub@redhat.com> * gimple-fold.c (gimple_fold_builtin_strncpy): Change "a an" to "an" in a comment. * hsa-common.h (is_a_helper): Likewise. * tree-ssa-strlen.c (maybe_diag_stxncpy_trunc): Likewise. * config/arc/arc.c (arc600_corereg_hazard): Likewise. * config/s390/s390.c (s390_indirect_branch_via_thunk): Likewise. * logic.cc (formula::formula): Change "a an" to "an" in a comment. * parser.c (cp_debug_parser): Change "a an" to "an" in a string literal.
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/arc/arc.c2
-rw-r--r--gcc/config/s390/s390.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c
index c98bd6c..537af79 100644
--- a/gcc/config/arc/arc.c
+++ b/gcc/config/arc/arc.c
@@ -9353,7 +9353,7 @@ arc600_corereg_hazard (rtx_insn *pred, rtx_insn *succ)
continue;
}
rtx dest = XEXP (x, 0);
- /* Check if this sets a an extension register. N.B. we use 61 for the
+ /* Check if this sets an extension register. N.B. we use 61 for the
condition codes, which is definitely not an extension register. */
if (REG_P (dest) && REGNO (dest) >= 32 && REGNO (dest) < 61
/* Check if the same register is used by the PAT. */
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c
index ae2be36..b6bc334 100644
--- a/gcc/config/s390/s390.c
+++ b/gcc/config/s390/s390.c
@@ -13252,7 +13252,7 @@ s390_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED,
assemble_end_function (thunk, fnname);
}
-/* Output either an indirect jump or a an indirect call
+/* Output either an indirect jump or an indirect call
(RETURN_ADDR_REGNO != INVALID_REGNUM) with target register REGNO
using a branch trampoline disabling branch target prediction. */