https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102474
--- Comment #2 from Ian Lance Taylor <ian at airs dot com> --- I did a git bisect, and it reported that the problem was introduced by commit f5ff3a8ed4ca91737c16757ce4938cf2e0187fc0 Author: Jan Hubicka <hubi...@ucw.cz> Date: Sat Aug 28 20:57:08 2021 +0200 Improve handling of table overflows in modref_ref_node gcc/ChangeLog: * ipa-modref-tree.h (modref_access_node::merge): Break out logic combining offsets and logic merging ranges to ... (modref_access_node::combined_offsets): ... here (modref_access_node::update2): ... here (modref_access_node::closer_pair_p): New member function. (modref_access_node::forced_merge): New member function. (modre_ref_node::insert): Do merging when table is full. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/modref-9.c: New test.