public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/104897] New: wrong plural form in diagnostic
@ 2022-03-12 22:30 roland.illig at gmx dot de
2022-03-14 9:40 ` [Bug target/104897] " rsandifo at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: roland.illig at gmx dot de @ 2022-03-12 22:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104897
Bug ID: 104897
Summary: wrong plural form in diagnostic
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: roland.illig at gmx dot de
CC: egallager at gcc dot gnu.org, rsandifo at gcc dot gnu.org
Target Milestone: ---
Target: aarch64
>From aarch64-sve-builtins.cc:
> error_at (location, "passing single vector %qT to argument %d"
> " of %qE, which expects a tuple of %d vectors",
> actual, argno + 1, fndecl, num_vectors);
"%d vectors" must use the correct plural form, for the benefit of Polish,
Russian, Arabic and several more.
=> Richard Sandiford's string (https://gcc.gnu.org/g:624d0f07)
"%d vectors" appears twice in this file.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/104897] wrong plural form in diagnostic 2022-03-12 22:30 [Bug target/104897] New: wrong plural form in diagnostic roland.illig at gmx dot de @ 2022-03-14 9:40 ` rsandifo at gcc dot gnu.org 2022-04-05 16:31 ` cvs-commit at gcc dot gnu.org 2022-04-05 16:40 ` rsandifo at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: rsandifo at gcc dot gnu.org @ 2022-03-14 9:40 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104897 rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-03-14 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- Mine — thanks for the report. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/104897] wrong plural form in diagnostic 2022-03-12 22:30 [Bug target/104897] New: wrong plural form in diagnostic roland.illig at gmx dot de 2022-03-14 9:40 ` [Bug target/104897] " rsandifo at gcc dot gnu.org @ 2022-04-05 16:31 ` cvs-commit at gcc dot gnu.org 2022-04-05 16:40 ` rsandifo at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2022-04-05 16:31 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104897 --- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Richard Sandiford <rsandifo@gcc.gnu.org>: https://gcc.gnu.org/g:e8bc70cc17b0105e2c463a98c9ff76039d03ff60 commit r12-7999-ge8bc70cc17b0105e2c463a98c9ff76039d03ff60 Author: Richard Sandiford <richard.sandiford@arm.com> Date: Tue Apr 5 17:31:35 2022 +0100 aarch64: Use error_n for plural text [PR104897] Use error_n rather than error_at for â%d vectorsâ, so that translators can pick different translations based on the number (2 vs more than 2, etc.) gcc/ PR target/104897 * config/aarch64/aarch64-sve-builtins.cc (function_resolver::infer_vector_or_tuple_type): Use error_n for "%d vectors" messages. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/104897] wrong plural form in diagnostic 2022-03-12 22:30 [Bug target/104897] New: wrong plural form in diagnostic roland.illig at gmx dot de 2022-03-14 9:40 ` [Bug target/104897] " rsandifo at gcc dot gnu.org 2022-04-05 16:31 ` cvs-commit at gcc dot gnu.org @ 2022-04-05 16:40 ` rsandifo at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: rsandifo at gcc dot gnu.org @ 2022-04-05 16:40 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104897 rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- Fixed. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-05 16:40 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-03-12 22:30 [Bug target/104897] New: wrong plural form in diagnostic roland.illig at gmx dot de 2022-03-14 9:40 ` [Bug target/104897] " rsandifo at gcc dot gnu.org 2022-04-05 16:31 ` cvs-commit at gcc dot gnu.org 2022-04-05 16:40 ` rsandifo 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).