https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114930
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Likely an issue in fld_incomplete_type_of with how C23 lays out types and/or how we set up their canonical types. What we try to do for LTO is to turn pointer types to pointer types to pointer to "incomplete" type variants, thus for arrays to [] and for structs to structs with no fields. Somebody needs to see how it goes wrong, the assert makes sense and is required for correctness.