https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106369
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Hannes Hauswedell from comment #5) > This change prevents the bug from triggering. Maybe that helps in pinning it > down? I suspect it was caused by this part of the patch: * class.c (remove_zero_width_bit_fields): Remove. (layout_class_type): Don't call it. With the empty class being there, there is an "zero" width field.