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 #5 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-10-18 11:38:33 UTC ---
(In reply to comment #4)
> 
> We stream the expanded location and allocate new line-map entries at LTO
> read time.

Where? 

I guess this precludes any knowledge of what is included from where and for
sure no tracking of macro expansion, but it still doesn't explain why
MAIN_FILE_P and INCLUDED_FROM do not work reliably. They should be true for
every map and return NULL, respectively. That seems like a bug.


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