https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113706
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> --- Created attachment 57423 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57423&action=edit patch for GCC 15 Here's a fix, but since this isn't a regression it can wait for stage 1.