)]}'
{
  "commit": "388c142866f36f0459f24ac0ff6b9aa15d6035c9",
  "tree": "fb7f054e6b4731f8dce6dc37f10016513dce2d38",
  "parents": [
    "9ec4f7e44a2a28168052d052ffb621b9cefaee41"
  ],
  "author": {
    "name": "Sergiu Deitsch",
    "email": "sergiu.deitsch@gmail.com",
    "time": "Sun Aug 14 12:49:45 2022 +0200"
  },
  "committer": {
    "name": "Sameer Agarwal",
    "email": "sameeragarwal@google.com",
    "time": "Tue Aug 16 21:23:12 2022 +0000"
  },
  "message": "Fix GCC 12.1.1 LTO -Walloc-size-larger-than\u003d warnings\n\nWith -flto\u003dauto, GCC emits multiple warnings in release builds such as\n\nIn function ‘make_unique’,\n    inlined from ‘Create’ at ceres-solver/internal/ceres/scratch_evaluate_preparer.cc:43:75,\n    inlined from ‘CreateEvaluatePreparers’ at ceres-solver/internal/ceres/compressed_row_jacobian_writer.h:95:66,\n    inlined from ‘__ct ’ at ceres-solver/internal/ceres/program_evaluator.h:120:9,\n    inlined from ‘Evaluate.constprop.isra’ at ceres-solver/internal/ceres/problem_impl.cc:695:65:\n/usr/include/c++/12.1.1/bits/unique_ptr.h:1080:30: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than\u003d]\n 1080 |     { return unique_ptr\u003c_Tp\u003e(new remove_extent_t\u003c_Tp\u003e[__num]()); }\n      |                              ^\n\nbecause a signed integer is used to specify the size of allocated arrays\ninstead of the expected unsigned (specifically, std::size_t) without\nchecking for negative values at the call site.\n\nChange-Id: I923b1d074241535426bfea041568ef1dc7f3ec86\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2b1742aadee84cddde71303e67f5406aa5764a95",
      "old_mode": 33188,
      "old_path": "internal/ceres/block_jacobian_writer.cc",
      "new_id": "727d6494441955d13e19e0fc0607ec6f3f517ae4",
      "new_mode": 33188,
      "new_path": "internal/ceres/block_jacobian_writer.cc"
    },
    {
      "type": "modify",
      "old_id": "00dcb36eb04b857c56d370924cb279bcae6eab8a",
      "old_mode": 33188,
      "old_path": "internal/ceres/block_jacobian_writer.h",
      "new_id": "7f5c50b29023f36b4e14a3a8b8bcc0b7220bc740",
      "new_mode": 33188,
      "new_path": "internal/ceres/block_jacobian_writer.h"
    },
    {
      "type": "modify",
      "old_id": "826a73a9af1f2e15fcca7551516337c9e610e104",
      "old_mode": 33188,
      "old_path": "internal/ceres/program_evaluator.h",
      "new_id": "1176bb860e43c4d14eac43bb381288f4b9b304c0",
      "new_mode": 33188,
      "new_path": "internal/ceres/program_evaluator.h"
    },
    {
      "type": "modify",
      "old_id": "680dab96c716156f4ad8b884c816313391cf3ff2",
      "old_mode": 33188,
      "old_path": "internal/ceres/scratch_evaluate_preparer.cc",
      "new_id": "f20f8fc6c411931a14afc6b224c6b2a4c81d7d01",
      "new_mode": 33188,
      "new_path": "internal/ceres/scratch_evaluate_preparer.cc"
    },
    {
      "type": "modify",
      "old_id": "946244bce1950e30e3f2869d74109432f6411d61",
      "old_mode": 33188,
      "old_path": "internal/ceres/scratch_evaluate_preparer.h",
      "new_id": "dbd4e5098ddeb9ff9324b9f07e7cb95ec50e6703",
      "new_mode": 33188,
      "new_path": "internal/ceres/scratch_evaluate_preparer.h"
    }
  ]
}
