https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115208
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andrew Macleod <amacl...@gcc.gnu.org>: https://gcc.gnu.org/g:f9810728cf42ea7c3d84198aa582e53cfb2302d1 commit r15-833-gf9810728cf42ea7c3d84198aa582e53cfb2302d1 Author: Andrew MacLeod <amacl...@redhat.com> Date: Sat May 25 12:28:52 2024 -0400 Delete gori_map during destruction of GORI. Forgot to free the gori_mpa object when a gori object is freed. PR tree-optimization/115208 * value-query.cc (range_query::create_gori): Confirm gori_map is NULL. (range_query::destroy_gori): Free gori_map if one was allocated.