Reporting lto bugs

Eugene Rozenfeld Eugene.Rozenfeld@microsoft.com
Fri Sep 24 01:43:09 GMT 2021


I ran into a bug with lto: no line number info gets emitted when building my project with -flto and -g (with gcc 8.2). I'd like to provide a repro in the bug report but I don't know if there is an easy way to collect everything.
The instructions at https://gcc.gnu.org/bugs/ seem to cover non-lto compilations.
For MSVC there is an easy way to collect linker repro files for ltcg: https://docs.microsoft.com/en-us/cpp/overview/how-to-report-a-problem-with-the-visual-cpp-toolset?view=msvc-160#link-repros
Is there something similar for GCC?

Thanks,

Eugene


More information about the Gcc mailing list