https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116738
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 59147 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59147&action=edit gcc15-pr116738.patch I think I've managed to make it working. Here it is. Rest in incremental changes.