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.