https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94873
--- Comment #18 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 48451 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48451&action=edit gcc11-pr94873.patch Untested patch then.