https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88049
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Feb 28 17:29:48 2019 New Revision: 269283 URL: https://gcc.gnu.org/viewcvs?rev=269283&root=gcc&view=rev Log: PR c++/88049 - ICE with undefined destructor and anon namespace. A type in an anonymous namespace can never be merged with one from another translation unit, so a member of such a type is always its own prevailing decl. * lto-symtab.c (lto_symtab_prevailing_virtual_decl): Return early for a type in an anonymous namespace. Added: trunk/gcc/testsuite/g++.dg/lto/pr88049_0.C Modified: trunk/gcc/lto/ChangeLog trunk/gcc/lto/lto-symtab.c