https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84990
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 43718 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43718&action=edit gcc8-pr84990.patch Can't reproduce with a cross, but just from the ICE line I guess this could fix it. There is no point to use section-anchors for these artificial variables, and we weren't using them before either, just through a hack for the DECL_INITIAL (decl) == decl which I've changed.