https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67289
--- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> --- gnat1 build works for me, but similar problem reproduces for me during Firefox build. Apparently we manage to set TREE_PUBLIC of TYPE_STUB_DECL of an anonymous type. I will try to track down where it hapepns (probably before LTO streaming)