https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964
--- Comment #16 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Thomas De Schampheleire from comment #15) > Created attachment 46361 [details] > Make -feliminate-unused-debug-symbols the default > > Attached patch makes -feliminate-unused-debug-symbols the default. > > I also updated the documentation (I hope it is correct). Note that I removed > the explicit reference to 'stabs' format, as it seems no longer correct as > DWARF is supported too. > > Is this the correct way forward? Yes, I think so. Can you post it to gcc-patches@ with an appropriate ChangeLog please? I can take care of applying it.