From: Martin Liska Date: Wed, 19 May 2021 13:25:36 +0000 (+0200) Subject: Fix typos. X-Git-Tag: basepoints/gcc-13~7401 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32bd0353db37af2cb023e575ed4ce8c944fd9dba;p=thirdparty%2Fgcc.git Fix typos. 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. --- diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index f0e1f4168043..ee14c2d5a25b 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 0cc650f98101..7fa948007ad8 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 e9f653bcc56c..448c71b056d0 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 8e104672d134..43310b6ada9d 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 dc282a780fcd..6f0f47530321 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);