[Bug tree-optimization/79997] New: simple-ssa-sprintf i18n: wrong plural form in maybe_warn
roland.illig at gmx dot de
gcc-bugzilla@gcc.gnu.org
Sat Mar 11 07:42:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79997
Bug ID: 79997
Summary: simple-ssa-sprintf i18n: wrong plural form in
maybe_warn
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: roland.illig at gmx dot de
Target Milestone: ---
from simple-ssa-sprintf.c:
The block after "if (res.min == res.max)" has the following expression:
const char* fmtstr = res.min == 1 ? ... : ...;
This is correct for English, but wrong for other human languages, since some of
them use more complex forms than just singular/plural.
More information about the Gcc-bugs
mailing list