This is the mail archive of the gcc@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 and exec-shield...


On Tuesday, March 16, 2004, at 06:51 PM, Ian Lance Taylor wrote:
On PCH write, gcc swizzles pointers and also copies the hash tables to
the PCH address.  It seems to me that gcc could rehash the pointer
values while copying the hash tables.

Minor nit, I don't believe we copy. We merely edit in place and write. But yes, I suspect that could be done.


So I still don't understand why we can't hash on pointer values.

I don't think it was meant that it is impossible, but that more code would need to be written. Merely changing to use address, would be wrong. Doing this and fixing it so that it would work fully, would be fine.



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