)]}'
{
  "commit": "cbb97c5be367123a00846d4dacb6a042fff87901",
  "tree": "93bf7b474fb77fb86468ad795bfe395a5c8c1bb0",
  "parents": [
    "1992aeb29ee6f14b0db3801538363ca606a9e687"
  ],
  "author": {
    "name": "Simon Marchi",
    "email": "simon.marchi@efficios.com",
    "time": "Fri Apr 12 13:51:54 2024 -0400"
  },
  "committer": {
    "name": "Simon Marchi",
    "email": "simon.marchi@polymtl.ca",
    "time": "Wed Apr 17 10:49:32 2024 -0400"
  },
  "message": "gdbsupport, gdbserver, gdb: use -Wno-vla-cxx-extension\n\nWhen building with clang 18, I see:\n\n      CXX    aarch64-linux-tdep.o\n    /home/smarchi/src/binutils-gdb/gdb/aarch64-linux-tdep.c:1299:26: error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension]\n     1299 |       gdb_byte za_zeroed[za_bytes];\n          |                          ^~~~~~~~\n    /home/smarchi/src/binutils-gdb/gdb/aarch64-linux-tdep.c:1299:26: note: read of non-const variable \u0027za_bytes\u0027 is not allowed in a constant expression\n    /home/smarchi/src/binutils-gdb/gdb/aarch64-linux-tdep.c:1282:10: note: declared here\n     1282 |   size_t za_bytes \u003d std::pow (sve_vl_from_vg (svg), 2);\n          |          ^\n\nSince we are using VLAs right now, that warning doesn\u0027t make sense for\nus.  add `-Wno-vla-cxx-extension` to the list of warning flags we try to\nenable.  If we ever choose to disallow VLAs, we can remove that flag.\n\nChange-Id: Ie41feafc50c343f6e75333d4f836ce32fbeb6d8c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a77e3e27332855c2b520bb8cada5658e970ee7ae",
      "old_mode": 33261,
      "old_path": "gdb/configure",
      "new_id": "c3d5cf7ed63d6089749c60b4186617933c1a4e6f",
      "new_mode": 33261,
      "new_path": "gdb/configure"
    },
    {
      "type": "modify",
      "old_id": "b85db9cd49df6c412cc2e2c38503ccb190aac38f",
      "old_mode": 33261,
      "old_path": "gdbserver/configure",
      "new_id": "026d250cc73265c5f65706e4c6641f04bcffc1ff",
      "new_mode": 33261,
      "new_path": "gdbserver/configure"
    },
    {
      "type": "modify",
      "old_id": "b45f12de45be310ef4b3b9d4fa457348a9441af6",
      "old_mode": 33261,
      "old_path": "gdbsupport/configure",
      "new_id": "ae991250ce4c0e7415c32f8f85abc8b53a108fbb",
      "new_mode": 33261,
      "new_path": "gdbsupport/configure"
    },
    {
      "type": "modify",
      "old_id": "bdac8b3e7d22e4bb73c188a778be214120d26d00",
      "old_mode": 33188,
      "old_path": "gdbsupport/warning.m4",
      "new_id": "d12bccbd3fb9681fdeb599f39da71f0900f70f1e",
      "new_mode": 33188,
      "new_path": "gdbsupport/warning.m4"
    }
  ]
}
