public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/96322] New: 22_locale/numpunct/members/char/3.cc is outdated: expects grouping=0, actual=3
@ 2020-07-26 12:11 slyfox at gcc dot gnu.org
  2020-07-26 22:53 ` [Bug libstdc++/96322] " redi at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: slyfox at gcc dot gnu.org @ 2020-07-26 12:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96322

            Bug ID: 96322
           Summary: 22_locale/numpunct/members/char/3.cc is outdated:
                    expects grouping=0, actual=3
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: slyfox at gcc dot gnu.org
  Target Milestone: ---

Noticed as a test failure on glibc-2.31 system:

FAIL: 22_locale/numpunct/members/char/3.cc execution test

Test does
"""
  // nl_NL chosen because it has no thousands separator (at this time).
  locale loc_it = locale(ISO_8859(15,nl_NL));
  const numpunct<char>& nump_it = use_facet<numpunct<char> >(loc_it);
  string g = nump_it.grouping();
  // Ensure that grouping is empty for locales with empty thousands separator.
  VERIFY( g == "" );
"""
and expects "grouping 0;0".

The failure started after glibc-2.30 update which changed nl_NL locale
definition:

  -thousands_sep             ""
  -grouping                  0;0
  +thousands_sep             "."
  +grouping                  3;3

https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=fefa21790b5081e5d04662a240e2efd18603ef86

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-13 21:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-26 12:11 [Bug libstdc++/96322] New: 22_locale/numpunct/members/char/3.cc is outdated: expects grouping=0, actual=3 slyfox at gcc dot gnu.org
2020-07-26 22:53 ` [Bug libstdc++/96322] " redi at gcc dot gnu.org
2020-11-12 23:45 ` slyfox at gcc dot gnu.org
2020-11-13  0:29 ` redi at gcc dot gnu.org
2020-11-13 21:42 ` slyfox 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).