https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987
--- Comment #22 from Tom de Vries <vries at gcc dot gnu.org> --- FYI, I've submitted a workaround for gdb that disables -fipa-modref for release gcc 12.0 - 16.0 ( https://sourceware.org/pipermail/gdb-patches/2025-July/219213.html ), assuming that his will be fixed in 16.1.