This is the mail archive of the gcc-patches@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]

Re: [LTO] free_language_specifics crashes C++ pretty-printer


2008/10/9 Richard Guenther <richard.guenther@gmail.com>:

> No, but I don't see how this matters here.  announce_function
> is a debugging thing, and in the end we shouldn't emit new
> diagnostics from the link-time run of LTO.

This happens before the link-time run of the LTO. In the C/C++
frontends, we strip all language specifics before writing out the IR.

I think we still want LTO to emit new diagnostics.  If a user tried to
combine objects with inconsistent function declarations, LTO should
detect this and emit an error message.  Note that this situation
cannot be detected when individual source files are compiled prior to
LTO.

-Doug


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