https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99705
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 50449 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50449&action=edit gcc11-pr99705-2.patch Another untested fix instead of the above.