PR testsuite/100658

gcc/cp/ChangeLog:

        * mangle.c (write_encoding): Fix typos.

gcc/jit/ChangeLog:

        * libgccjit.c (gcc_jit_context_new_function): Fix typos.

gcc/testsuite/ChangeLog:

        * gcc.dg/local1.c: Fix typos.
        * gcc.dg/ucnid-5-utf8.c: Likewise.
        * gcc.dg/ucnid-5.c: Likewise.
---
 gcc/cp/mangle.c                     | 2 +-
 gcc/jit/libgccjit.c                 | 2 +-
 gcc/testsuite/gcc.dg/local1.c       | 2 +-
 gcc/testsuite/gcc.dg/ucnid-5-utf8.c | 2 +-
 gcc/testsuite/gcc.dg/ucnid-5.c      | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index f0e1f416804..ee14c2d5a25 100644
--- a/gcc/cp/mangle.c
+++ b/gcc/cp/mangle.c
@@ -835,7 +835,7 @@ write_encoding (const tree decl)
     }
 }
-/* Interface to substitution and identifer mangling, used by the
+/* Interface to substitution and identifier mangling, used by the
    module name mangler.  */
void
diff --git a/gcc/jit/libgccjit.c b/gcc/jit/libgccjit.c
index 0cc650f9810..7fa948007ad 100644
--- a/gcc/jit/libgccjit.c
+++ b/gcc/jit/libgccjit.c
@@ -909,7 +909,7 @@ gcc_jit_context_new_function (gcc_jit_context *ctxt,
   RETURN_NULL_IF_FAIL (return_type, ctxt, loc, "NULL return_type");
   RETURN_NULL_IF_FAIL (name, ctxt, loc, "NULL name");
   /* The assembler can only handle certain names, so for now, enforce
-     C's rules for identiers upon the name, using ISALPHA and ISALNUM
+     C's rules for identifiers upon the name, using ISALPHA and ISALNUM
      from safe-ctype.h to ignore the current locale.
      Eventually we'll need some way to interact with e.g. C++ name
      mangling.  */
diff --git a/gcc/testsuite/gcc.dg/local1.c b/gcc/testsuite/gcc.dg/local1.c
index e9f653bcc56..448c71b056d 100644
--- a/gcc/testsuite/gcc.dg/local1.c
+++ b/gcc/testsuite/gcc.dg/local1.c
@@ -10,7 +10,7 @@
          the later daclaration is the same as the linkage specified at
          the prior declaration.  If no prior declaration is visible,
          or if the prior declaration specifies no linkage, then the
-         identifer has external linkage.
+         identifier has external linkage.
This is PR 14366. */ diff --git a/gcc/testsuite/gcc.dg/ucnid-5-utf8.c b/gcc/testsuite/gcc.dg/ucnid-5-utf8.c
index 8e104672d13..43310b6ada9 100644
--- a/gcc/testsuite/gcc.dg/ucnid-5-utf8.c
+++ b/gcc/testsuite/gcc.dg/ucnid-5-utf8.c
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-skip-if "No dollar in identfiers" { avr-*-* powerpc-ibm-aix* } } */
+/* { dg-skip-if "No dollar in identifiers" { avr-*-* powerpc-ibm-aix* } } */
 /* { dg-skip-if "" { ! ucn } } */
 /* { dg-options "-std=c99 -fdollars-in-identifiers -g" } */
 void abort (void);
diff --git a/gcc/testsuite/gcc.dg/ucnid-5.c b/gcc/testsuite/gcc.dg/ucnid-5.c
index dc282a780fc..6f0f4753032 100644
--- a/gcc/testsuite/gcc.dg/ucnid-5.c
+++ b/gcc/testsuite/gcc.dg/ucnid-5.c
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-skip-if "No dollar in identfiers" { avr-*-* powerpc-ibm-aix* } } */
+/* { dg-skip-if "No dollar in identifiers" { avr-*-* powerpc-ibm-aix* } } */
 /* { dg-options "-std=c99 -fdollars-in-identifiers -g" } */
 void abort (void);
--
2.31.1

Reply via email to