[Bug c++/106369] [12/13 Regression] ICE in output_constructor_regular_field, at varasm.cc:5515 since r12-2975-g32c3a75390623a
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 21 15:24:39 GMT 2022
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.
More information about the Gcc-bugs
mailing list