https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536
--- Comment #43 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Jan Hubicka from comment #40) > Manuel, > the following way you get the lto1 invocation: Ah, ok, it seems to work now. It just takes ages to print the lto1 line and it get printed way after the lto1 process is running already. > For proper LTO you need a linker with plugin support check: That seems correct. Thanks. > There is a path in linemap_add_line that does not increase locator, but it > is bit bogus. I am playing with patch to improve this. Which path? What for sure happens is that when linemap_start_line starts returning 0, then linemap_postion_for_column will always return the same location until linemap_add is called directly (because of a change of file in the case of LTO).