)]}'
{
  "commit": "cd453025faf5ab3ada2428e5fc372d9a6328c9cb",
  "tree": "470f97147670721fc6c1e0202692e75c9a8ef82e",
  "parents": [
    "b71686db1fdc589da34f80460f054407c1f54990"
  ],
  "author": {
    "name": "Odysseas Georgoudis",
    "email": "odygrd@hotmail.com",
    "time": "Fri Jul 24 15:17:32 2026 -0400"
  },
  "committer": {
    "name": "Jason Merrill",
    "email": "jason@redhat.com",
    "time": "Sun Jul 26 10:50:51 2026 -0400"
  },
  "message": "c++: Fix ICE with loop pragmas at class scope [PR126323]\n\ncp_parser_pragma rejected GCC loop pragmas at namespace scope, but not\nat class scope.  Consequently, it attempted to parse the following loop\nas a statement while in a member-declaration context, leading to an ICE\nwhen processing the loop initializer.\n\nAccept these pragmas only in statement contexts.\n\ngcc/cp/ChangeLog:\n\n\tPR c++/126323\n\t* parser.cc (cp_parser_pragma): Reject GCC loop pragmas outside\n\tstatement contexts.\n\ngcc/testsuite/ChangeLog:\n\n\tPR c++/126323\n\t* g++.dg/parse/pr126323.C: New test.\n\nReviewed-by: Jason Merrill \u003cjason@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3f042bec1c66cad21b6e794a7455b1919b06200f",
      "old_mode": 33188,
      "old_path": "gcc/cp/parser.cc",
      "new_id": "13ebd64c48364afa3675d26244df200fe7f439f4",
      "new_mode": 33188,
      "new_path": "gcc/cp/parser.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2224733ccb33bc36e15c8820e6f288338ca8a53b",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/g++.dg/parse/pr126323.C"
    }
  ]
}
