)]}'
{
  "commit": "172dc0ed63274f24653f830754a6d49e37bfc3fe",
  "tree": "30e4ba0fb9d32c6236b5b13399f53e1bfa28eccf",
  "parents": [
    "5be7b70e769e6e992dbf631cd37e24bd9da9e05e"
  ],
  "author": {
    "name": "Thomas Schwinge",
    "email": "tschwinge@baylibre.com",
    "time": "Sat Jul 04 10:06:41 2026 +0000"
  },
  "committer": {
    "name": "Thomas Schwinge",
    "email": "tschwinge@baylibre.com",
    "time": "Mon Jul 06 09:38:51 2026 +0200"
  },
  "message": "libstdc++: Avoid \u0027-Wtype-limits\u0027 warnings in \u0027libstdc++-v3/config/locale/generic/ctype_members.cc\u0027\n\nIn a GCC/AIX build I ran into:\n\n    ctype_members.cc: In member function \u0027virtual char std::ctype\u003cwchar_t\u003e::do_narrow(wchar_t, char) const\u0027:\n    ctype_members.cc:212:14: error: comparison is always true due to limited range of data type [-Werror\u003dtype-limits]\n      212 |     if (__wc \u003e\u003d 0 \u0026\u0026 __wc \u003c 128 \u0026\u0026 _M_narrow_ok)\n          |         ~~~~~^~~~\n    ctype_members.cc: In member function \u0027virtual const wchar_t* std::ctype\u003cwchar_t\u003e::do_narrow(const wchar_t*, const wchar_t*, char, char*) const\u0027:\n    ctype_members.cc:226:21: error: comparison is always true due to limited range of data type [-Werror\u003dtype-limits]\n      226 |           if (*__lo \u003e\u003d 0 \u0026\u0026 *__lo \u003c 128)\n          |               ~~~~~~^~~~\n    cc1plus: all warnings being treated as errors\n    make[5]: *** [Makefile:685: ctype_members.lo] Error 1\n    make[5]: Target \u0027all\u0027 not remade because of errors.\n    make[5]: Leaving directory \u0027[...]/build-gcc/powerpc-ibm-aix7.3.1.0/libstdc++-v3/src/c++11\u0027\n\nThat\u0027s \u0027[...]/ctype_members.cc\u0027 -\u003e\n\u0027[...]/source-gcc/libstdc++-v3/config/locale/generic/ctype_members.cc\u0027.\nApply to that file the very same patch as had been applied to\n\u0027libstdc++-v3/config/locale/gnu/ctype_members.cc\u0027 in\ncommit 975025de350bb8cc264fef0a5f88f71abe5b3791\n\"libstdc++: Avoid -Wtype-limits warnings in locale/gnu/ctype_members.cc\".\n\n\tlibstdc++-v3/\n\t* config/locale/generic/ctype_members.cc (use_table): New function.\n\t(ctype\u003cwchar_t\u003e::do_narrow): Use use_table.\n\nCo-authored-by: Jonathan Wakely \u003cjwakely@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2d61347feb1cec00d483efb9c25ae46015946cd6",
      "old_mode": 33188,
      "old_path": "libstdc++-v3/config/locale/generic/ctype_members.cc",
      "new_id": "3f788a63e2047b0516a5564f1258381c7a04bfd2",
      "new_mode": 33188,
      "new_path": "libstdc++-v3/config/locale/generic/ctype_members.cc"
    }
  ]
}
