https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 48858 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48858&action=edit gcc11-pr96130.patch So, my fix would be like this (untested except on the testcase so far).