[Bug c/99304] New: typo in diagnostic: refernced

2021-02-27 Thread roland.illig at gmx dot de via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- gcc/c-family/c-attribs.c says: > "refernced symbol declared here" That should be "referenced" instead. A test to trigger this diagnostic is: ~~~c /* { dg-do compile }

[Bug c/99297] New: wrong diagnostic style in rx.c

2021-02-27 Thread roland.illig at gmx dot de via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- rx.c says: > "invalid control register for mvtc : %d - using 'psw'" This should rather be: > "invalid control register %d for mvtc; using %"

[Bug fortran/99303] OpenMP: typo in diagnostic

2021-02-27 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99303 --- Comment #2 from Roland Illig --- same file, other typo: > "clauses on the same construct %L" The "at %L" is missing.

[Bug c/99288] New: xgettext does not get HOST_WIDE_INT_PRINT_UNSIGNED

2021-02-26 Thread roland.illig at gmx dot de via Gcc-bugs
: c Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- gcse.c says: > warning (OPT_Wdisabled_optimization, > "%s: %d basic blocks and %d registers; " > "increase %<--pa

[Bug c/99304] [11 Regression] typo in diagnostic: refernced

2021-02-28 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99304 --- Comment #4 from Roland Illig --- Thank you for fixing the typos. Could you perhaps add the test cases to the test suite, to have the two diagnostics covered? Now that the typo is fixed, both should trivially pass.

[Bug translation/99167] New: typo in params.opt: accesse

2021-02-19 Thread roland.illig at gmx dot de via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- > Maximum number of accesse stored in each modref reference. Should be 'accesses'.

[Bug libfortran/95177] error: array subscript has type char

2021-11-14 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #15 from Roland Illig --- (In reply to Steve Kargl from comment #9) > I'm still trying to understand how an > option names -Werror=char-subscripts could trigger an > error. There are no subscripts. There _are_ subscripts, just look

[Bug tree-optimization/103457] boolean operations on bit-fields are not merged

2021-11-28 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103457 --- Comment #2 from Roland Illig --- Cool, thank you for taking this optimization. Just to give you a bit of background: I discovered this while converting some of the enum types in BSD Make to proper bitfields, which theoretically should be

[Bug tree-optimization/103457] New: boolean operations on bit-fields are not merged

2021-11-28 Thread roland.illig at gmx dot de via Gcc-bugs
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- ~~~c #include typedef struct GNodeFlagsS { bool remake:1; bool childMade:1; bool force:1; bool doneWait:1; bool

[Bug c/102998] Wrong documentation for -Warray-parameter

2021-10-29 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102998 --- Comment #1 from Roland Illig --- > for the following redeclarations That's wrong. There is only 1 redeclaration in the code that follows.

[Bug c/102998] New: Wrong documentation for -Warray-parameter

2021-10-29 Thread roland.illig at gmx dot de via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html says: > For example, the warning triggers for the following redeclarations because > the first one allows an array

[Bug libfortran/95177] error: array subscript has type char

2021-12-16 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 --- Comment #17 from Roland Illig --- (In reply to Francois-Xavier Coudert from comment #16) > I feel like the "array subscript has type char" error is really a red > herring in this case. I agree, especially for C programmers who are not aware

[Bug rtl-optimization/93748] too much quotation in diagnostic (%qs instead of %s)

2022-01-15 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93748 --- Comment #3 from Roland Illig --- (In reply to Andrew Pinski from comment #2) > Since all 4 are internal compiler error, they will not be used for > translation and the rules for diagnostic does not need to apply here. Are you sure about the

[Bug c/104044] New: Useless empty statements (across projects)

2022-01-15 Thread roland.illig at gmx dot de via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- mn10300.c says: > break;; nvptx.c says: > tree r = NULL_TREE;; jit-playback.c says: > tree x = as_tree ();; These extra semicolons (and all the others in the whole tre

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #13 from Roland Illig --- >From aarch64.cc: > invalid feature modifier %s The %s must be %qs, like in the related messages.

[Bug target/104794] New: arm: use translation pattern for repetitive messages

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- arm-builtins.cc says: if (fcode == ARM_BUILTIN_WSRLHI) error ("the count should be no less than 0; please check the intr

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #19 from Roland Illig --- >From nvptx.cc: > PTX version (-mptx) needs to be at least %s to support selected -misa (sm_%s) Missing %<...%> around -mptx and -misa.

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #10 from Roland Illig --- >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,

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #14 from Roland Illig --- >From aarch64.cc: > "invalid name (%qs) in % pragma or attribute" What is the point of having parentheses around %qs? That seems redundant to me.

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #16 from Roland Illig --- >From arm-builtins.cc: > "the range of count should be in 0 to 32; > please check the intrinsic %<_mm_rori_pi16%> in code" Please double-check whether the "0 to 32" is a typo and should rather be "0 to

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 --- Comment #2 from Roland Illig --- While here, please add the missing space in the middle of the string: error ("incompatible options %'-mstack-protector-guard=global%' and" "%'-mstack-protector-guard-offset=%qs%'",

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 --- Comment #3 from Roland Illig --- While here: > error ("incompatible options %'-mstack-protector-guard=global%' and" >"%'-mstack-protector-guard-offset=%qs%'", The idiomatic way to write quotes is %<...%>, not %'...%'.

[Bug target/104797] New: too many parentheses in diagnostic for __delay_cycles

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- Target: msp430 >From msp430.cc: > error ("%<__delay_cycles()%> only takes constant arg

[Bug target/99297] wrong diagnostic style in rx.c

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99297 Roland Illig changed: What|Removed |Added Version|11.0|12.0 --- Comment #1 from Roland Illig

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #9 from Roland Illig --- >From config/host-darwin.cc: > error ("PCH memory not available %m"); Looks like a missing ":" before "%m".

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 --- Comment #1 from Roland Illig --- >From arm-builtins.cc: > "the range of count should be in 0 to 32; > please check the intrinsic %<_mm_rori_pi16%> in code" While here, please double-check whether the "0 to 32" is a typo and should rather

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 --- Comment #4 from Roland Illig --- And another thing: > %'-mstack-protector-guard-offset=%qs%' This produces nested quotes. The %qs should rather be a simple %s. Maybe you can write a unit test to see how the end result looks. I didn't find

[Bug target/104795] New: inconsistent wording in diagnostics

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- >From i386.c: > %<-m96bit-long-double%> is not compatible with this target > %<-mpreferred-stack-boundary%> is not supp

[Bug translation/40883] [meta-bug] Translation breakage with trivial fixes

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40883 --- Comment #11 from Roland Illig --- Is there a general plan of fixing these "trivial" nits? Half of my reports from 2019 are still open after 3 years.

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 --- Comment #5 from Roland Illig --- Same for %'-mstack-protector-guard=tls%' in the same file.

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #18 from Roland Illig --- >From nds32.cc: > this built-in function not support on the v3m toolchain "support" should be "supported".

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #20 from Roland Illig --- >From pru.cc: > register name %<%s%> Please use the canonical %qs instead of the unnecessarily verbose %<%s%>. Everywhere.

[Bug translation/90148] Closing quote in wrong position in plugin.c

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90148 --- Comment #7 from Roland Illig --- Still reproducible in GCC 12. Any chance of these trivial things getting fixed in the next year?

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #12 from Roland Illig --- >From aarch64-sve-builtins.cc: > "capture by copy of SVE type %qT" This message should use the same grammar as the related ones, the word "cannot" is a useful indicator of the general error condition.

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #17 from Roland Illig --- >From bfin.cc: > cannott Should be "cannot".

[Bug target/104796] New: ABI change is not mentioned in HTML changelog

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- >From i386.c: const char *url = CHANGES_ROOT_URL "gcc-12/changes.html#zero_width_bitfields"; inform (i

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #21 from Roland Illig --- >From rs6000-c.cc: > passing argument %d of %qE discards const qualifier from pointer target type The word "const" must be in % quotes.

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #11 from Roland Illig --- >From aarch64-sve-builtins.cc: > passing %qT to argument %d of %qE, which expects a scalar integer "scalar integer" sounds redundant, this may be a copy-and-paste mistake from the message directly above,

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-04 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #15 from Roland Illig --- >From aarch64.cc: > arch extension %<%s%> Use the idiomatic %qs instead.

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #22 from Roland Illig --- >From v850-c.cc: > %<#pragma%> GHS end found without previous startXXX > %<#pragma%> GHS endXXX does not match previous startXXX > junk at end of %<#pragma%> ghs section > malformed %<#pragma%> ghs

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #23 from Roland Illig --- >From c-parser.cc and cp/parser.cc: > %<#pragma omp target%> with modifier other than % or %on > % clause Missing space between "%" and "on".

[Bug c++/104905] New: untranslated word in diagnostic about compiled module

2022-03-13 Thread roland.illig at gmx dot de via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de CC: egallager at gcc dot gnu.org Target Milestone: --- >From cp/module.cc: > error_at (loc, "compiled module is %

[Bug target/104902] New: missing %q in diagnostic

2022-03-13 Thread roland.illig at gmx dot de via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de CC: egallager at gcc dot gnu.org Target Milestone: --- Target: nvptx >From nvptx.cc: > PTX version (-mptx) needs to be at least %s to support selected

[Bug c++/104906] New: UTF-8 bytes output in diagnostic regardless of locale

2022-03-13 Thread roland.illig at gmx dot de via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de CC: egallager at gcc dot gnu.org Target Milestone: --- >From cp/module.cc: inform (loc, "compiler is %sversio

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-13 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 Roland Illig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug translation/40883] [meta-bug] Translation breakage with trivial fixes

2022-03-13 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40883 Bug 40883 depends on bug 104552, which changed state. Bug 104552 Summary: Mistakes in strings to be translated in GCC 12 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 What|Removed |Added

[Bug target/104904] New: misplaced quotes in diagnostic

2022-03-13 Thread roland.illig at gmx dot de via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de CC: egallager at gcc dot gnu.org, msebor at gcc dot gnu.org Target Milestone: --- Target: v850 >From v850-c.cc: > %<#pragma%> GHS e

[Bug c++/104907] New: unclear diagnostic for fatal error

2022-03-13 Thread roland.illig at gmx dot de via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de CC: egallager at gcc dot gnu.org Target Milestone: --- >From cp/module.cc: > returning to the gate for a mechanical issue This diagnostic is a fatal

[Bug target/104903] New: missing quotes in diagnostic

2022-03-13 Thread roland.illig at gmx dot de via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de CC: egallager at gcc dot gnu.org Target Milestone: --- Target: rs6000 >From rs6000-c.cc: > passing argument %d of %qE discards const qualifie

[Bug c++/104877] New: missing standard gnu++20 in diagnostic

2022-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- cp/parser.cc says: > use of % in parameter declaration only available with %<-std=c++20%> > or %<-fconcepts%> What about %<-std=gnu++20%>?

[Bug d/104878] New: untranslated string in diagnostic "%s %qs instantiated"

2022-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
ty: normal Priority: P3 Component: d Assignee: ibuclaw at gdcproject dot org Reporter: roland.illig at gmx dot de Target Milestone: --- d/decl.cc says: > warning (OPT_Wtemplates, "%s %qs instantiated", > ti->kind (), ti->toPrettyChars (fal

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-08 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #35 from Roland Illig --- (In reply to rsand...@gcc.gnu.org from comment #33) > (In reply to Eric Gallager from comment #28) > > (In reply to Roland Illig from comment #11) > > > From aarch64-sve-builtins.cc: > > > > passing %qT to

[Bug c++/104808] New: unclear diagnostic "MAP %qD TO %qT"

2022-03-06 Thread roland.illig at gmx dot de via Gcc-bugs
iority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- cp/constraint.cc says: > if (TYPE_P (parm)) > verbatim ("MAP %qD TO %qT", TEMPLATE_TYPE_DECL (parm), arg); > else

[Bug c++/104809] New: Explain ELRoND to translators

2022-03-06 Thread roland.illig at gmx dot de via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- >From cp/module.cc: > not Encapsulated Lazy Records of Named Declarations Is this message trying to be funny? As the German translator, I got the abbrev

[Bug c++/104810] New: Wrong order of "note: ... this enumerator %qD"

2022-03-06 Thread roland.illig at gmx dot de via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- >From cp/module.cc: > inform (DECL_SOURCE_LOCATION (new_decl), > "... this enumerator %

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-06 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #25 from Roland Illig --- >From cp/module.cc: inform (loc, "compiler is %sversion %s%s%s", IS_EXPERIMENTAL (my_ver) ? "experimental " : "", my_string, reject_p ? "" :

[Bug c++/104808] unclear diagnostic "MAP %qD TO %qT"

2022-03-06 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104808 --- Comment #2 from Roland Illig --- (In reply to Andrew Pinski from comment #1) > these are in debug_* functions so they don't need to be translated as they > are not user visible at all. > That is they are only used while debugging GCC. If

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-06 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #24 from Roland Illig --- >From cp/module.cc: > error_at (loc, "compiled module is %sversion %s", > IS_EXPERIMENTAL (their_ver) ? "experimental " : "", > their_string); The word "experimental" must be

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-06 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #26 from Roland Illig --- >From cp/module.cc: > returning to the gate for a mechanical issue This diagnostic is a fatal error. Fatal errors must be actionable. This diagnostic isn't actionable, instead it increases confusion for

[Bug fortran/104888] New: diagnostics use non-idiomatic '%s'

2022-03-11 Thread roland.illig at gmx dot de via Gcc-bugs
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- fortran/openmp.cc says: > selector '%s' not allowed for context selector set '%s' at %C One year ago, the message contained the idiomatic %qs.

[Bug fortran/104888] diagnostics use non-idiomatic '%s'

2022-03-11 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104888 --- Comment #5 from Roland Illig --- Related, in trans-openmp.cc: > "specified at %L " The space at the end is too much.

[Bug fortran/104888] diagnostics use non-idiomatic '%s'

2022-03-11 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104888 --- Comment #4 from Roland Illig --- While here: > requiries typo: should be requires

[Bug fortran/104888] diagnostics use non-idiomatic '%s'

2022-03-11 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104888 --- Comment #2 from Roland Illig --- While here: > "'omp_allocator_handle_kind' kind at %L" Should this be uppercase instead?

[Bug fortran/104888] diagnostics use non-idiomatic '%s'

2022-03-11 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104888 --- Comment #1 from Roland Illig --- While here: > expected : at %C The quotes around the %<:%> are missing.

[Bug fortran/104888] diagnostics use non-idiomatic '%s'

2022-03-11 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104888 --- Comment #3 from Roland Illig --- While here: > DEPEND clause of depobj Should DEPOBJ be uppercase?

[Bug c++/104876] New: untranslated strings in diagnostic about failed mapper

2022-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- cp/mapper-client.cc says: ---snip--- ... errmsg = "opening"; ... errmsg = "reading"; ... if (errmsg)

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-12 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #37 from Roland Illig --- I'm splitting this bug report into multiple bug reports, to clean up the mess that the 36 comments created. It was a bad idea from the beginning. :)

[Bug target/104794] arm: use translation pattern for repetitive messages

2022-03-12 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104794 --- Comment #11 from Roland Illig --- Thank you, looks good now.

[Bug target/104898] New: missing %q in diagnostic

2022-03-12 Thread roland.illig at gmx dot de via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de CC: egallager at gcc dot gnu.org, sje at gcc dot gnu.org Target Milestone: --- Target: aarch64 >From aarch64.cc: > invalid feature modifier %s The %s

[Bug c/104899] New: typo "cannott"

2022-03-12 Thread roland.illig at gmx dot de via Gcc-bugs
mponent: c Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de CC: egallager at gcc dot gnu.org Target Milestone: --- in bfin.cc and range-op.cc This typo doesn't appear in any tests so it should be trivial to fix.

[Bug target/104897] New: wrong plural form in diagnostic

2022-03-12 Thread roland.illig at gmx dot de via Gcc-bugs
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: > er

[Bug c/104896] New: Messages use %<%s%> instead of the idiomatic %qs

2022-03-12 Thread roland.illig at gmx dot de via Gcc-bugs
normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de CC: egallager at gcc dot gnu.org, msebor at gcc dot gnu.org Target Milestone: --- As of 2022-03-12, the GCC tree contains 44 instances of the

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-12 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #38 from Roland Illig --- (In reply to Roland Illig from comment #7) > From params.opt: > > --param=ranger-debug=[none|trace|gori|cache|tracegori|all] > > Specifies the output mode for debugging ranger. > > Why " " instead of the

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-02-24 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #7 from Roland Illig --- >From params.opt: > When propagating IPA-CP effect estimates, multiply frequencies of recursive > edges that that bring back an unchanged value by this factor. "that that" >From params.opt: > Maximum

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-02-15 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #3 from Roland Illig --- (In reply to Iain Buclaw from comment #2) > (In reply to Roland Illig from comment #0) > > > -fdump-cxx-spec=Write all declarations as C++ code to > > > . > > > > The '' should be '' as well. > >

[Bug translation/104552] New: Mistakes in strings to be translated in GCC 12

2022-02-15 Thread roland.illig at gmx dot de via Gcc-bugs
: translation Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- > -fdump-cxx-spec=Write all declarations as C++ code to . The '' should be '' as well. > When a symbol is resolved, check alias this scope before going to

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-02-17 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #4 from Roland Illig --- >From common.opt: > an invalid linenum macros "an" + "macros" doesn't match

[Bug c/99291] maybe_warn_pass_by_reference uses outdated format string

2022-03-03 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99291 --- Comment #6 from Roland Illig --- Still reproducible in GCC 12.

[Bug translation/104552] Mistakes in strings to be translated in GCC 12

2022-03-03 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104552 --- Comment #8 from Roland Illig --- >From tree-ssa-uninit.c: > accessing argument %u of a function declared with attribute %<%s%> The %<%s%> should be the conventional %qs.

[Bug c/104316] New: Missing optimization for uninitialized local struct variable

2022-01-31 Thread roland.illig at gmx dot de via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- ~~~c #include typedef struct Buffer { char *buf; size_t len; size_t cap; } Buffer; Buffer Buffer_Init_Return(void); void

[Bug fortran/109105] Error-prone format string building in resolve.cc

2023-10-16 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109105 --- Comment #3 from Roland Illig --- Nothing has changed yet. There is no built-in validation in the translated messages that each '%%L' from the msgid matches a '%%L' from the msgstr. I suggest to replace the label 'bad_op' with a function

[Bug c/105209] New: internal compiler error: in store_data_bypass_p_1

2022-04-10 Thread roland.illig at gmx dot de via Gcc-bugs
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- Target: alpha $ cat <<'EOF' > tree.c typedef struct tnode_t { struct tnode_t *tn_left, *tn_right; int v_quad; } tnode_t; int cons

[Bug tree-optimization/105295] New: missed optimization with -ftrapv for conditional constants

2022-04-16 Thread roland.illig at gmx dot de via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- ~~~c int sum_const(_Bool a, _Bool b) { return (a ? 1 : 0 ) + (b ? 1

[Bug fortran/109105] New: Error-prone format string building in resolve.cc

2023-03-11 Thread roland.illig at gmx dot de via Gcc-bugs
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- The function resolve_operator constructs a format string and then passes it to gfc_error. This approach is wrong, and if a translator

[Bug target/109100] New: Possible typo CRS

2023-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- Target: riscv riscv.opt says: > Enable the CSR checking for the ISA-dependent CRS and the read-only CSR. Is the CRS a typo and should be CSR? As the German translator, I'm not famil

[Bug other/109103] New: Missing function internal_error_at

2023-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- m2expr.c says: > error_at ( > location, > "internal error: not expecting operand1 to be a constant set"); This should rather be a call to internal_error_at

[Bug target/109100] Possible typo CRS

2023-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109100 --- Comment #1 from Roland Illig --- While here: In that same message, there is a single space between sentences 1 and 2, but 2 spaces between sentences 2 and 3. While here: can not is usually spelled cannot.

[Bug fortran/109101] New: Wrong quotes in OpenMP diagnostic

2023-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- scanner.cc says: > Ignoring '!$omx' vendor-extension sentinel at %C The single quotes should be replaced with %< and %>, see <https://gcc.gnu.org/onlinedocs/gccin

[Bug modula2/109102] New: Wrong quotes in diagnostic

2023-03-10 Thread roland.illig at gmx dot de via Gcc-bugs
Assignee: gaius at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- m2builtins.cc says: > %s:%d:assertion of condition `%s' failed The backtick and single quote should be replaced with %< and %>, see <https://gcc.gnu.org/onlinedocs/gccin

[Bug modula2/109032] message 'compiler checks to force' is too complicated

2023-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109032 --- Comment #1 from Roland Illig --- While here: > turns on runtime checking to check whether a CASE statement requires an ELSE > clause when on was not specified Did you mean "when one was not"?

[Bug modula2/109032] message 'compiler checks to force' is too complicated

2023-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109032 --- Comment #4 from Roland Illig --- While here: > (* >BuildDivM2 - build and return ((op2 < 0) : (op1 divtrunc op2) ? (op1 > divfloor op2)) > when -fiso, -fpim4 or -fpositive-mod-floor-div is present else >

[Bug c/109034] New: Missing space in diagnostics about '^' and '<<'

2023-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
ponent: c Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- > "result of %<%wu^%wu%> is %wu;" > " did you mean %<1 << %wu%> (%wu)?", Since '^' is a binary operator, it is usually

[Bug modula2/109032] message 'compiler checks to force' is too complicated

2023-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109032 --- Comment #2 from Roland Illig --- While here: > turns on runtime checking to check whether a floating point number is about > to exceed range What exactly does "is about to" mean, and why didn't you just write "exceeds the range"?

[Bug modula2/109032] message 'compiler checks to force' is too complicated

2023-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109032 --- Comment #5 from Roland Illig --- While here: > dependancies Typo; should be dependencies.

[Bug rtl-optimization/109033] New: Some messages are not understandable by ordinary user

2023-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- > error ("returns_twice call is %s in basic block %d", This message must not be user-visible, except in a call to internal_error. In gene

[Bug rtl-optimization/109033] Some messages are not understandable by ordinary user

2023-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109033 --- Comment #1 from Roland Illig --- > "%@ %s (fndecl %qD, depth %i)", Why am I supposed to translate this string? It just doesn't make sense to translate this into German, or any other natural language.

[Bug modula2/109032] New: message 'compiler checks to force' is too complicated

2023-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
Component: modula2 Assignee: gaius at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- > compiler checks to force definition module procedure parameter names with > their implementation module counterpart This message is not understandable, espe

[Bug modula2/109032] message 'compiler checks to force' is too complicated

2023-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109032 --- Comment #3 from Roland Illig --- While here: > specify the library order, currently legal entries include: log, min, pim, > iso or their directory name equivalent m2log, m2min, m2pim, m2iso. In what legislation are these entries "legal"?

[Bug c/109034] Missing space in diagnostics about '^' and '<<'

2023-03-05 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109034 --- Comment #1 from Roland Illig --- While here: > "you can silence this warning by using a hexadecimal constant" > " (%wx rather than %wd)", %x requires an unsigned argument, %wd requires a signed argument, so %wd should probably be %wu

[Bug translation/108890] New: Translation mistakes 2023

2023-02-22 Thread roland.illig at gmx dot de via Gcc-bugs
Component: translation Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- > %qs is loaded but symbol %qs is not found: %s That string is marked as 'format-c' but should be 'format-gcc-internal'. > to generate dependenci

<    1   2   3   4   5   6   >