]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix typos.
authorMartin Liska <mliska@suse.cz>
Wed, 19 May 2021 13:25:36 +0000 (15:25 +0200)
committerMartin Liska <mliska@suse.cz>
Wed, 19 May 2021 13:25:36 +0000 (15:25 +0200)
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
gcc/jit/libgccjit.c
gcc/testsuite/gcc.dg/local1.c
gcc/testsuite/gcc.dg/ucnid-5-utf8.c
gcc/testsuite/gcc.dg/ucnid-5.c

index f0e1f4168043326d49e87460df387cd3bbbfa0f3..ee14c2d5a25b3ff185f4b9561046ffc074dd3bfe 100644 (file)
@@ -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
index 0cc650f98101e9226fb08ef2004550c0ae398745..7fa948007ad8f0b206ecce46512f166273e78ac5 100644 (file)
@@ -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.  */
index e9f653bcc56c2531d27ee26d45dcdca306e78752..448c71b056d022dc1907b4afe34170b7adb4dcbc 100644 (file)
@@ -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.  */
 
index 8e104672d13474a90522fe9926d89de6e6720531..43310b6ada9dd8b15aa81a8149e64dff091cb30e 100644 (file)
@@ -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);
index dc282a780fcdc46700c7a3572d82db29d2c6eb89..6f0f475303213821c47752670084baf53ef2a5d6 100644 (file)
@@ -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);