https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-08-22
                 CC|                            |rguenth at gcc dot gnu.org,
                   |                            |vries at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Debug info is now more complete.  Note
-feliminate-unused-debug-symbols is only implemented for STABS debugging, not
for DWARF and from
my reading implementing it for DWARF is what you'd like to see.

If you use GCC 8 or newer and LTO and apply dwarf compression using the dwz
tool the final debug info will be smaller than with GCC 4.9.  Unfortunately
dwarf compression doesn't help when not using LTO as it seems to be "confused"
by location attributes.

Let's make this bug a request for implementing -feliminate-unused-debug-symbols
for DWARF.

Reply via email to