This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/54962] Strange-looking diagnostics from diagnostic_report_current_module() from warnings emitted during LTO


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]