https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124621
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 64022 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64022&action=edit gcc16-pr124621.patch Does this fix it for you?
