public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/100658] New: Typos in dg commands and texi files
@ 2021-05-18 17:39 gscfq@t-online.de
2021-05-18 19:58 ` [Bug testsuite/100658] " redi at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: gscfq@t-online.de @ 2021-05-18 17:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100658
Bug ID: 100658
Summary: Typos in dg commands and texi files
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
There is one naming difference : s/Identifification/Identification/
./gcc/ada/gnat_rm.texi:20880:@item @code{Ada.Task_Identifification}
@emph{(C.7.1)}
---
Another typo : s/identfier/identifier/
./gcc/testsuite/gcc.dg/ucnid-5-utf8.c:2:/* { dg-skip-if "No dollar in
identfiers" { avr-*-* powerpc-ibm-aix* } } */
./gcc/testsuite/gcc.dg/ucnid-5.c:2:/* { dg-skip-if "No dollar in identfiers" {
avr-*-* powerpc-ibm-aix* } } */
Additionally, other places use sign "$" explicitly, if that matters here at all
:
./gcc/testsuite/gcc.dg/cpp/lexident.c:8:/* Escaped newlines, _ and $ in
identifiers. */
./gcc/testsuite/gcc.target/i386/pr91298-1.c:4:/* { dg-xfail-if "No support for
$ in identifiers" { *-*-solaris2.* && { ! gas } } } */
./gcc/testsuite/gcc.target/i386/pr91298-2.c:4:/* { dg-xfail-if "No support for
$ in identifiers" { *-*-solaris2.* && { ! gas } } } */
./libcpp/charset.c:1131: cpp_error (pfile, CPP_DL_PEDWARN, "'$' in
identifier or number");
./libcpp/lex.c:1335: cpp_error (pfile, CPP_DL_PEDWARN, "'$' in identifier
or number");
---
Other cases :
s/identier/identifier/
./gcc/jit/libgccjit.c:912: C's rules for identiers upon the name, using
ISALPHA and ISALNUM
s/identifer/identifier/
./gcc/cp/mangle.c:838:/* Interface to substitution and identifer mangling, used
by the
./gcc/testsuite/gcc.dg/local1.c:13: identifer has external linkage.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/100658] Typos in dg commands and texi files
2021-05-18 17:39 [Bug testsuite/100658] New: Typos in dg commands and texi files gscfq@t-online.de
@ 2021-05-18 19:58 ` redi at gcc dot gnu.org
2021-05-19 13:25 ` marxin at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2021-05-18 19:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100658
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-05-18
Keywords| |easyhack
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/100658] Typos in dg commands and texi files
2021-05-18 17:39 [Bug testsuite/100658] New: Typos in dg commands and texi files gscfq@t-online.de
2021-05-18 19:58 ` [Bug testsuite/100658] " redi at gcc dot gnu.org
@ 2021-05-19 13:25 ` marxin at gcc dot gnu.org
2021-05-19 13:26 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-05-19 13:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100658
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
I'm going to fix the typos, thanks,
> ./gcc/testsuite/gcc.dg/cpp/lexident.c:8:/* Escaped newlines, _ and $ in
> identifiers. */
> ./gcc/testsuite/gcc.target/i386/pr91298-1.c:4:/* { dg-xfail-if "No support
> for $ in identifiers" { *-*-solaris2.* && { ! gas } } } */
> ./gcc/testsuite/gcc.target/i386/pr91298-2.c:4:/* { dg-xfail-if "No support
> for $ in identifiers" { *-*-solaris2.* && { ! gas } } } */
> ./libcpp/charset.c:1131: cpp_error (pfile, CPP_DL_PEDWARN, "'$' in
> identifier or number");
> ./libcpp/lex.c:1335: cpp_error (pfile, CPP_DL_PEDWARN, "'$' in
> identifier or number");
What's wrong about the $ sign?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/100658] Typos in dg commands and texi files
2021-05-18 17:39 [Bug testsuite/100658] New: Typos in dg commands and texi files gscfq@t-online.de
2021-05-18 19:58 ` [Bug testsuite/100658] " redi at gcc dot gnu.org
2021-05-19 13:25 ` marxin at gcc dot gnu.org
@ 2021-05-19 13:26 ` cvs-commit at gcc dot gnu.org
2021-05-19 20:51 ` gscfq@t-online.de
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-19 13:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100658
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:32bd0353db37af2cb023e575ed4ce8c944fd9dba
commit r12-912-g32bd0353db37af2cb023e575ed4ce8c944fd9dba
Author: Martin Liska <mliska@suse.cz>
Date: Wed May 19 15:25:36 2021 +0200
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/100658] Typos in dg commands and texi files
2021-05-18 17:39 [Bug testsuite/100658] New: Typos in dg commands and texi files gscfq@t-online.de
` (2 preceding siblings ...)
2021-05-19 13:26 ` cvs-commit at gcc dot gnu.org
@ 2021-05-19 20:51 ` gscfq@t-online.de
2021-05-21 9:13 ` marxin at gcc dot gnu.org
2021-09-17 6:35 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: gscfq@t-online.de @ 2021-05-19 20:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100658
--- Comment #3 from G. Steinmetz <gscfq@t-online.de> ---
> What's wrong about the $ sign?
Nothing, it's about "dollar". I was just surprised that
there was no text snippet "dollar in" in all the sources.
You can ignore this section "Additionally ...",
on x86_64-pc-linux-gnu it gives (not checked on powerpc) :
$ gcc-12-20210516 -c gcc.dg/ucnid-5.c -std=c99 -g -fdollars-in-identifiers
$ gcc-12-20210516 -c gcc.dg/ucnid-5.c -std=c99 -g -fno-dollars-in-identifiers
gcc.dg/ucnid-5.c:6:6: error: stray '$' in program
6 | int a$b(void) { return 1; }
| ^
gcc.dg/ucnid-5.c:6:7: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'b'
6 | int a$b(void) { return 1; }
| ^
gcc.dg/ucnid-5.c: In function 'main':
gcc.dg/ucnid-5.c:11:7: error: universal character \u0024 is not valid in an
identifier
11 | if (a\u0024b() != 1)
| ^
gcc.dg/ucnid-5.c:11:7: warning: implicit declaration of function 'a$b'
[-Wimplicit-function-declaration]
11 | if (a\u0024b() != 1)
| ^~~~~~~~
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/100658] Typos in dg commands and texi files
2021-05-18 17:39 [Bug testsuite/100658] New: Typos in dg commands and texi files gscfq@t-online.de
` (3 preceding siblings ...)
2021-05-19 20:51 ` gscfq@t-online.de
@ 2021-05-21 9:13 ` marxin at gcc dot gnu.org
2021-09-17 6:35 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-05-21 9:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100658
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Closing as fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/100658] Typos in dg commands and texi files
2021-05-18 17:39 [Bug testsuite/100658] New: Typos in dg commands and texi files gscfq@t-online.de
` (4 preceding siblings ...)
2021-05-21 9:13 ` marxin at gcc dot gnu.org
@ 2021-09-17 6:35 ` pinskia at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-17 6:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100658
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-09-17 6:35 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 17:39 [Bug testsuite/100658] New: Typos in dg commands and texi files gscfq@t-online.de
2021-05-18 19:58 ` [Bug testsuite/100658] " redi at gcc dot gnu.org
2021-05-19 13:25 ` marxin at gcc dot gnu.org
2021-05-19 13:26 ` cvs-commit at gcc dot gnu.org
2021-05-19 20:51 ` gscfq@t-online.de
2021-05-21 9:13 ` marxin at gcc dot gnu.org
2021-09-17 6:35 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).