https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116899
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 59238 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59238&action=edit gcc15-pr116899.patch Untested fix in patch form.