)]}'
{
  "commit": "9da250c97b8f2d1fcf6548b79c1908e1a2a87b04",
  "tree": "5318859f66ec80b669764b4c0380a0caedc35647",
  "parents": [
    "6283dec6a09c6abbf88e13829ed000ec3c85e519"
  ],
  "author": {
    "name": "Valentin Clement (バレンタイン クレメン)",
    "email": "clementval@gmail.com",
    "time": "Sun May 03 15:59:45 2026 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun May 03 15:59:45 2026 -0700"
  },
  "message": "[flang][cuda][openacc] Fix OpenACC use_device host association symbol copies (#194705)\n\nWhen a use_device object comes from host association, the OpenACC\nconstruct scope may already contain a HostAssocDetails symbol. Reusing\nthat symbol prevents semantics from applying the CUDA DEVICE attribute,\nbecause the copied symbol is not an object entity. The fix materializes\nthe expected host-associated symbol in the containing scope, then\nreplaces the OpenACC-scope symbol with an ObjectEntityDetails copy that\ncan carry the device attribute.\n\nThis allows generic resolution and lowering to see the device version\ninside the host_data construct while preserving the host-associated\nbinding needed by lowering.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "86eefc57f9749b5b32131bf0b85bc997edeeba47",
      "old_mode": 33188,
      "old_path": "flang/lib/Semantics/resolve-names.cpp",
      "new_id": "822fc8b593fae644e80a0db99023ad6e465dbda5",
      "new_mode": 33188,
      "new_path": "flang/lib/Semantics/resolve-names.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9844fd9913fd9179f9644b354082f9f4caedfef0",
      "new_mode": 33188,
      "new_path": "flang/test/Lower/OpenACC/acc-host-data-cuda-host-assoc.f90"
    }
  ]
}
