[Bug debug/53118] [4.8/4.9/5 regression] -feliminate-dwarf2-dups is broken for C++

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 2 21:05:00 GMT 2015


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.



More information about the Gcc-bugs mailing list