From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 15A373858D38; Sun, 26 Jul 2020 12:11:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15A373858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1595765509; bh=X/cA6SJRqeItApu8kDfct55dug7xcvsBt/2+T2sY5to=; h=From:To:Subject:Date:From; b=FKxgjzuc9t7wVo+GE92IkJ8wmBJ8uvNzQtAUpfFl6g9xnOY279Ckrr4KAYxA4tAMJ 8ajPPwFNxE0jC93z33bgUnmd29TYSe+7+QfOCZxLS8844tKaDR+vJQQEXzfITkMDfX c0VT0yL8yzSHmN6OFI6BVv6QB57poVtNmGUg+wPs= From: "slyfox at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/96322] New: 22_locale/numpunct/members/char/3.cc is outdated: expects grouping=0, actual=3 Date: Sun, 26 Jul 2020 12:11:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: slyfox at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2020 12:11:49 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96322 Bug ID: 96322 Summary: 22_locale/numpunct/members/char/3.cc is outdated: expects grouping=3D0, actual=3D3 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 =3D locale(ISO_8859(15,nl_NL)); const numpunct& nump_it =3D use_facet >(loc_it); string g =3D nump_it.grouping(); // Ensure that grouping is empty for locales with empty thousands separat= or. VERIFY( g =3D=3D "" ); """ 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=3Dglibc.git;a=3Dcommitdiff;h=3Dfefa21790b5081= e5d04662a240e2efd18603ef86=