https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53118
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Aldy Hernandez from comment #5) > -feliminate-dwarf2-dups has been disabled for C++ (see PR46102). However, > as noted by Ian in the thread in #c1, there are better ways of removing > duplicates in dwarf4. FWIW I don't know if I agree that .debug_types is "better"; there's currently no way to refer to children of the type, so we end up creating "skeleton" DIEs in the main CU anyway.