https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113604
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 57221 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57221&action=edit gcc14-pr113604.patch Untested fix. I've tried to explain what's going on in the large comment.