https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91222
--- Comment #12 from Jan Hubicka <hubicka at ucw dot cz> --- > Created attachment 46765 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46765&action=edit > clear TYPE_NAME in free_lang_data for anonymous types > > Perhaps like this? It seems that this will disable ODR handling of all anonymous types, not only those declared as "extern C". We make use of the info (by mangling them to <anon>) to handle them during devirtualization and also TBAA. So perhaps we want to be more specific here? Honza