[Bug libstdc++/64132] [7/8/9 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test

2019-02-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

--- Comment #16 from Jonathan Wakely  ---
I suspect Debian had downstream changes to the it_IT.ISO8859-15 locale data, as
was later done in upstream glibc. The original version of the test failed if
it_IT.ISO8859-15 uses thousands separators. The changes in r265165 would have
fixed it, by using a different locale.

The test I put in comment 11 was after that change to use nl_NL, which explains
why it shows no grouping. Mystery solved.

[Bug libstdc++/64132] [7/8/9 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test

2019-02-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

--- Comment #15 from Jonathan Wakely  ---
Probably r265165 or r265286

[Bug libstdc++/64132] [7/8/9 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test

2019-02-25 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

John David Anglin  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #14 from John David Anglin  ---
This was fixed on trunk somewhere between r264889 and r265360.

[Bug libstdc++/64132] [7/8/9 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test

2018-12-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|7.4 |7.5

[Bug libstdc++/64132] [7/8/9 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test

2018-11-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

Jonathan Wakely  changed:

   What|Removed |Added

 Status|WAITING |NEW

--- Comment #13 from Jonathan Wakely  ---
Thanks, Dave. That's what the test expects ... so I don't know why it then
fails.

[Bug libstdc++/64132] [7/8/9 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test

2018-11-22 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

--- Comment #12 from dave.anglin at bell dot net ---
On 2018-11-22 9:58 a.m., redi at gcc dot gnu.org wrote:
> Can somebody who sees the bug please see what this says:
no grouping

This is with Debian Linux.

[Bug libstdc++/64132] [7/8/9 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test

2018-11-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

Jonathan Wakely  changed:

   What|Removed |Added

 Status|NEW |WAITING

--- Comment #11 from Jonathan Wakely  ---
Since I can't reproduce this I can't debug it. Is anybody seeing this on
non-Debian systems?

Can somebody who sees the bug please see what this says:

#define _GNU_SOURCE
#include 
#include 
#include 
int main()
{
  setlocale(LC_NUMERIC, "nl_NL.ISO8859-15@euro");
  const char* thousands_sep = nl_langinfo(THOUSANDS_SEP);
  if (*thousands_sep)
  {
const char* grouping = nl_langinfo(GROUPING);
printf("THOUSANDS_SEP: 0x%x\nGROUPING: ", (unsigned)*thousands_sep);
while (*grouping)
  printf(" %d", (int)*grouping++);
puts("");
  }
  else
puts("no grouping");
}