)]}'
{
  "commit": "12fc7c1ecd34c2e77a1ef6daefea8d16cd3106d0",
  "tree": "cc35004680470969f85b50be93aafb1244ed3ca2",
  "parents": [
    "8a3aa549299337ffee8d808bf7d997b7cb1f99fe"
  ],
  "author": {
    "name": "Sandra Loosemore",
    "email": "sloosemore@baylibre.com",
    "time": "Thu May 28 15:37:11 2026 +0000"
  },
  "committer": {
    "name": "Sandra Loosemore",
    "email": "sloosemore@baylibre.com",
    "time": "Fri Jun 05 22:02:44 2026 +0000"
  },
  "message": "C++, OpenMP: Handle ARRAY_TYPE array sections, not just pointers\n\nThis patch is a bug fix for commit gcc-17-202-g3f8c7483112, \u0027OpenMP:\nExpand \"declare mapper\" mappers for target {enter,exit,} data\ndirectives\u0027.  The ChangeLog for that patch indicated that\ncxx_omp_map_array_section was supposed to accept both arrays and\npointers as the base expression, but the code actually only allowed\npointers.  OTOH, both the error-checking in handle_omp_array_sections_1\nand the code generation in build_array_ref allow ARRAY_TYPE, and code with\nsuch expressions is actually coming in to the function.\n\nThere is no test case included with this patch, but I ran across this\nin the two new test cases included with the OpenMP iterators patch\nhttps://gcc.gnu.org/pipermail/gcc-patches/2025-July/689071.html which\nI am preparing to resubmit.\n\ngcc/cp/ChangeLog\n\t* semantics.cc (cxx_omp_map_array_section): Allow ARRAY_TYPE\n\texpressions, not just pointers.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "565117fb8fa8384a510d2ef7b91f2b361748026b",
      "old_mode": 33188,
      "old_path": "gcc/cp/semantics.cc",
      "new_id": "42278d336bf06d4d6360e948e8cd6d8e6fdc15b9",
      "new_mode": 33188,
      "new_path": "gcc/cp/semantics.cc"
    }
  ]
}
