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

2019-11-13 Thread dimitar.yordanov at sap dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91935 --- Comment #3 from Dimitar Yordanov --- ld.bfd --gc-sections drops the dead symbols, at least in the example code. ld.gold --gc-sections works differently. I guess it does not even look at sections without SHF_ALLOC

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

2019-11-11 Thread dimitar.yordanov at sap dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91935 --- Comment #2 from Dimitar Yordanov --- 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 symb

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

2019-10-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91935 Richard Biener changed: What|Removed |Added Keywords||lto Status|UNCONFIRMED