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: [PCH] cpp & dependencies


On Sunday, September 1, 2002, at 05:34  PM, Geoffrey Keating wrote:

This adds saving/restoring CPP macros, and validity checking of the
CPP macro state.  This should be enough to precompile any header that
doesn't actually contain any C code.

Bootstrapped & tested on x86-linux.
In cpp_write_pch() writing
- list of identifiers that are not defined
- list of identifiers that are defined

But in cpp_valid_pch() while validating you are reading
- list of identifiers that must be defined
- list of identifiers that must not be defined

The ordering between writing and reading does not seem consistent
to me. Or am I missing something?

Thanks,
-Devang


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