)]}'
{
  "commit": "7decbb57670c3c0f6136be00456fe9c8a41f7aed",
  "tree": "feb6b7c495aef208590b2aaa6e5fe2fe3e6dd195",
  "parents": [
    "81763ec0f01664a5dd9fbfc541b1bf22a857f626"
  ],
  "author": {
    "name": "Reshma Roy",
    "email": "Reshma.Roy@amd.com",
    "time": "Thu Jul 30 12:19:08 2026 +0530"
  },
  "committer": {
    "name": "vekumar",
    "email": "Venkataramanan.Kumar@amd.com",
    "time": "Mon Aug 03 16:54:40 2026 +0530"
  },
  "message": "match: Fix incorrect identification of POPCOUNT pattern [PR126466]\n\nThis fixes r17-489-g8ca1e887847e2f, which added a third 32-bit\nHacker\u0027s Delight popcount matcher.  Its predicate checked\ncompare_tree_int (@5, 0x0F0F0F0F) twice and never validated the\nfinal outer AND constant (@7), so any mask was accepted once the\nearlier constants matched.\n\nRequire compare_tree_int (@7, 0x0000003F) so only the intended\npopcount idiom is folded to IFN_POPCOUNT.\n\ngcc/ChangeLog:\n\n\tPR tree-optimization/126466\n\t* match.pd: Fix incorrect POPCOUNT identification in the third\n\t32-bit Hacker\u0027s Delight matcher.\n\ngcc/testsuite/ChangeLog:\n\n\t* gcc.dg/tree-ssa/popcount10.c: New test.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cfaead7c67dd69a0f368d5791a668294c5734a42",
      "old_mode": 33188,
      "old_path": "gcc/match.pd",
      "new_id": "00a0adaba87efd5b994b13ad185a61a691a49de2",
      "new_mode": 33188,
      "new_path": "gcc/match.pd"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ed8946186901bffaa5bc338f74ff2ee112dc0965",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/gcc.dg/tree-ssa/popcount10.c"
    }
  ]
}
