http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54962
--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-10-18 10:39:08 UTC --- (In reply to comment #2) > > This is called by default_tree_diagnostic_starter FWIW; perhaps lto1 needs > > its > > own implementation of this? > > Maybe yes. LTO should print the "main" file as well (so it doesn't have > a MAIN_FILE_P), but not as included-from but in some other way. > How does the line_map works in LTO? Is it saved and restored or re-build from scratch?