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.

Reply via email to