https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- CCing Jason on the rationale for adding the empty base field. The PowerPC ABI certainly describes what is at the source level and how it is mapped to the calling conventions, not what the compiler adds to the TYPE_FIELDS. And, because the empty base has 0 size, there is no padding as far as the layout of the class that contains it is involved.