https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120987
--- Comment #25 from rguenther at suse dot de <rguenther at suse dot de> --- On Sat, 12 Jul 2025, vries at gcc dot gnu.org wrote: > 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. It's usually better to place a noipa attribute on a select function where the issue shows up than disabling a whole pass which might lead to other latent bugs pop up here and there given test coverage with -fno-ipa-* or -fno-tree-* is very weak.