https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122497
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I think enable_ranger/disable_ranger part of the commit which exposed the latent bug. Before we would not look walk the names while folding the reference but we do now since the ranger is enabled. I don't know how likely it would expose in GCC 14 and 15 though; it is definitely better to fix the latent bug there too.
