[Bug lto/91935] Unneeded .debug_info entries in .symtab when using LTO

dimitar.yordanov at sap dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 11 16:04:00 GMT 2019


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

--- Comment #2 from Dimitar Yordanov <dimitar.yordanov at sap dot com> ---
Probably already clear, but to write down what I read so far and did not write
with the initial report:

PR lto/83452. is actually not the regression, it is just a workaround to "Make
discarded global symbols hidden weak"

and 

PR lto/91478 is a different implementation of the same workaround that instead
aliases discarded global symbols to a debug_info entry, which should always be
present.

But in the end the dead symbols are there.


More information about the Gcc-bugs mailing list