)]}'
{
  "commit": "2dcdb2463f89930b8cdd2b15f962bd3df5dd83f7",
  "tree": "b7f5a9185abc8257bb92380dc7c3c4ecf67cca24",
  "parents": [
    "d84a302d4f0a440aa602f9688d339532a21c81a1"
  ],
  "author": {
    "name": "Harald Anlauf",
    "email": "anlauf@gmx.de",
    "time": "Sat Jun 06 21:59:49 2026 +0200"
  },
  "committer": {
    "name": "Harald Anlauf",
    "email": "anlauf@gmx.de",
    "time": "Sat Jun 06 22:03:58 2026 +0200"
  },
  "message": "Fortran: fix ICE on LOC intrinsic with polymorphic argument [PR125606]\n\nThe fix for PR122977 improved the gfc_is_simply_contiguous check for\nassociate variables, but had a side effect when using the LOC() intrinsic\non SELECT TYPE temporaries where gfc_is_simply_contiguous could return\nfalse.  Fall back to simply taking the address of the variable\u0027s address.\n\n\tPR fortran/125606\n\ngcc/fortran/ChangeLog:\n\n\t* trans-intrinsic.cc (gfc_conv_intrinsic_loc): When the argument\n\tof LOC() is not scalar or known to be simply contiguous, simply\n\ttake the address of the argument array\u0027s first element.\n\ngcc/testsuite/ChangeLog:\n\n\t* gfortran.dg/loc_3.f90: New test.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fdb9ddb52eaac21ffbe9e380b673903758492627",
      "old_mode": 33188,
      "old_path": "gcc/fortran/trans-intrinsic.cc",
      "new_id": "a2a6c6979d98fe07210a09161ebed3a51ce26209",
      "new_mode": 33188,
      "new_path": "gcc/fortran/trans-intrinsic.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "efc7d0e56e71e0844a707cc2be671d18fe9be547",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gfortran.dg/loc_3.f90"
    }
  ]
}
