https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127760
--- Comment #3 from Jeffrey A. Law <law at gcc dot gnu.org> --- Note I've opened bz127916 for the additional cases. It looks like they're all caused by a small bug in a match.pd patch added back in 2024. I haven't fully debugged what the right fix is yet, but it shouldn't be terribly hard to finish sorting through.
