https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102586

--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, perhaps if RECORD_TYPE type has TYPE_BINFO in clear_padding_type, we should
be ignoring all the DECL_ARTIFICIAL unnamed fields in the structure and instead
walk the BINFO_BASE_BINFOS ?
Though, in the C8 case, the C7 type of the first FIELD_DECL is the same as
TREE_TYPE of BINFO_BASE_BINFOS[0], so I'm lost where to find the right types.

Reply via email to