This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [pph] Add initial support for including nested pph images (issue4847044)
On Tue, Aug 9, 2011 at 20:52, Gabriel Charette <gchare@google.com> wrote:
> An ICE in lto_streamer_cache_get is not very intuitive to point out
> the problem to the user in this case imo....
Right.
> I'm thinking we should at least warn when some flags like this one
> differ and when that difference has an impact on the internal
> representation and can produce ICEs.
Yes, we can use the header of the PPH file to add anything we need to
do compatibility tests: original flags, version numbers, etc. When we
open the file we can do these checks to avoid reading files
incompatible with the current compilation context.
Diego.