https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65536
--- Comment #27 from Jan Hubicka <hubicka at ucw dot cz> --- > I have in fact considered it already, since I think it should be fairly easy > and it can be done incrementally. However, as always in GCC, things are never > as trivial as they seem. I just tried following > https://gcc.gnu.org/wiki/DebuggingGCC#Debugging_LTO to see what > dump_line_table_statistics reports before and after my patch above, but it > doesn't print the lto1 invokation. The debugx scripts > (https://gcc.gnu.org/ml/gcc/2004-03/msg01195.html) do not seem to work with > lto1 (why those scripts are not in contrib/?). I feel like a new contributor > again! :) I simply use --save-temps --verbose and use lto1 invocation from there. It is easy ;) Having direct way to invoke lto1 in gdb from gcc wrapper or script may come handy, but it is not that hard to do by hand. Honza