https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62102
--- Comment #4 from Hans-Peter Nilsson <hp at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > +2014-06-28 Jan Hubicka <hubi...@ucw.cz> > + > + * tree-inline.c (remap_type_1): Do not duplicate fields > + that are shared in between type and its main variant. > > maybe you can verify that reverting fixes the issue? That is r212111; I confirmed that reverting that indeed fixes the issue.