https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 48467 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48467&action=edit gcc11-pr94913.patch Untested fix for that part.