)]}'
{
  "commit": "be07701934f75b112593f37d72cd8842ce969b79",
  "tree": "a87f1ca24c2c73a4614b90f6ba1d8b3a50a3b965",
  "parents": [
    "40f744fd5afd8721868e71d96a11e9f3446a31c2"
  ],
  "author": {
    "name": "Marek Polacek",
    "email": "polacek@redhat.com",
    "time": "Thu Nov 20 13:57:43 2025 -0500"
  },
  "committer": {
    "name": "Marek Polacek",
    "email": "polacek@redhat.com",
    "time": "Fri Nov 21 09:28:50 2025 -0500"
  },
  "message": "c++: make __reference_*_from_temporary honor access [PR120529]\n\nThis PR reports that our __reference_*_from_temporary ignore access\ncontrol.  The reason is that we only check if implicit_conversion\nworks, but not if the conversion can actually be performed, via\nconvert_like.\n\n\tPR c++/120529\n\ngcc/cp/ChangeLog:\n\n\t* call.cc (ref_conv_binds_to_temporary): Don\u0027t ignore access control.\n\ngcc/testsuite/ChangeLog:\n\n\t* g++.dg/ext/reference_xes_from_temporary1.C: New test.\n\nReviewed-by: Jason Merrill \u003cjason@redhat.com\u003e\n(cherry picked from commit e82a8e51848b5a74edb530f7597861f7080662c3)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6caac8963cc96041eca9c945d98a30f136d98bf5",
      "old_mode": 33188,
      "old_path": "gcc/cp/call.cc",
      "new_id": "0044e0da718644d560efc60d2fa9d47bc86008a6",
      "new_mode": 33188,
      "new_path": "gcc/cp/call.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "274de05e7b7a921657eabc0428a34e11c5506547",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/g++.dg/ext/reference_xes_from_temporary1.C"
    }
  ]
}
