https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64980
--- Comment #13 from Mikael Morin <mikael at gcc dot gnu.org> --- Created attachment 34757 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34757&action=edit Yet another attempt using TYPE_CANONICAL this tries to remove any use of VIEW_CONVERT_EXPR by setting (well, trying to set) the same TYPE_CANONICAL for the different class containers. And hope the middle-end is satisfied with that.