https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85704
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 44425 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44425&action=edit gcc9-pr85704.patch Untested fix. If people use thousands of consecutive zero sized fields in structures, this could be compile time problematic, but we unfortunately don't have any sort of monotonically increasing ids for FIELD_DECLs within the same structure.