https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95450
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 49045 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49045&action=edit gcc11-pr95450.patch Untested fix. Or as I said, it could be limited to && COMPOSITE_MODE_P (element_mode (type)) only too.