https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89692
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I would feel much safer if we do this TYPE_NEXT_VARIANT adjustment with turning those types left out into distinct type if we'd fld_worklist_push (TYPE_CANONICAL (type), fld); and so there would be at least sanity in what say later build_qualified_type creates etc.