)]}'
{
  "commit": "efc4c77282ece710872cc6521468f17b5a96fc45",
  "tree": "be0794d0c700cf86ae9d86f6c1e4880b3fd457ee",
  "parents": [
    "09a3da82125e07da504136841d577f103aa4ea13"
  ],
  "author": {
    "name": "Jakub Jelinek",
    "email": "jakub@redhat.com",
    "time": "Sat Aug 02 09:14:14 2025 +0200"
  },
  "committer": {
    "name": "Jakub Jelinek",
    "email": "jakub@gcc.gnu.org",
    "time": "Sat Aug 02 09:14:14 2025 +0200"
  },
  "message": "cobol: Use %td in error_msg in 3 spots\n\nOn Thu, Jul 31, 2025 at 11:33:07PM +0200, Jakub Jelinek via Gcc wrote:\n\u003e \u003e this was all described in excruciating detail in the patch submission\n\u003e \u003e\n\u003e \u003e     https://gcc.gnu.org/pipermail/gcc-patches/2025-June/687385.html\n\u003e \u003e\n\u003e \u003e and the commit message.\n\u003e\n\u003e Looking at that patch, the dbgmsg change looks correct (dbgmsg is\n\u003e ATTRIBUTE_PRINTF_1), while the last 3 hunks are suboptimal, they should\n\u003e really use %td and keep the ptrdiff_t arguments without casts.\n\nHere it is in patch form.\nI couldn\u0027t find other similar casts in calls to ATTRIBUTE_GCOBOL_DIAG\nfunctions.\n\n2025-08-02  Jakub Jelinek  \u003cjakub@redhat.com\u003e\n\n\t* parse.y (intrinsic): Use %td format specifier with no cast on\n\targument instead of %ld with cast to long.\n\t* scan_ante.h (numstr_of): Likewise.\n\t* util.cc (cbl_field_t::report_invalid_initial_value): Likewise.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "59cc64ddeca4637a7e03a106df68a82f50ab89c6",
      "old_mode": 33188,
      "old_path": "gcc/cobol/parse.y",
      "new_id": "fae96ed5c7187ed4a5fff7e8134d3cd6548be0f5",
      "new_mode": 33188,
      "new_path": "gcc/cobol/parse.y"
    },
    {
      "type": "modify",
      "old_id": "c00826d652fd539b4b1cbd43d56a3fe832021c1e",
      "old_mode": 33188,
      "old_path": "gcc/cobol/scan_ante.h",
      "new_id": "31093a68350ff599575014291927c5a559ec4854",
      "new_mode": 33188,
      "new_path": "gcc/cobol/scan_ante.h"
    },
    {
      "type": "modify",
      "old_id": "2a7bf2ba86d01cc8a98a4648b33db6d61ec44433",
      "old_mode": 33188,
      "old_path": "gcc/cobol/util.cc",
      "new_id": "aed9483ff7bbdcd7635fa5361f220fd52e61f789",
      "new_mode": 33188,
      "new_path": "gcc/cobol/util.cc"
    }
  ]
}
