[Bug target/79868] New: aarch64: diagnostic "malformed target %s value" not translateable
roland.illig at gmx dot de
gcc-bugzilla@gcc.gnu.org
Sun Mar 5 10:16:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79868
Bug ID: 79868
Summary: aarch64: diagnostic "malformed target %s value" not
translateable
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: roland.illig at gmx dot de
Target Milestone: ---
from config/aarch64/aarch64.c:
error ("malformed target %s value", pragma_or_attr);
Assuming that the %s placeholder can be either "pragma" or "attribute" (which
should be documented right above the above code line), this message cannot be
translated propertly into French.
le valeur d'attribute
le valeur du pragma
Depending on the inserted word, the outside sentence changes.
Therefore, instead of passing "const char *pragma_or_attr", that parameter
should be a boolean.
if (pragma)
error ("malformed target pragma value");
else
error ("malformed target attribute value");
More information about the Gcc-bugs
mailing list