On Tue, Aug 9, 2011 at 20:52, Gabriel Charette <gch...@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.

Reply via email to