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]

Re: [RFA] Integrated hashtables take 2


Mark Mitchell wrote:-

> I think my idea of "negative inheritance" where cpplib would
> internally manipulate data by getting a pointer to the middle of the
> object, and then the front-ends would subtract a few bytes to get a
> proper tree_identifier is a little cleaner still.
> 
> Am I making sense?

Would this work?  cpplib and the front ends are sharing some of the
data too: the name and length.  So we'd be muxing up structures
whatever we do.

For the moment, anyway, I'd like to do the simple thing.  Once this is
in the main tree, others besides me can see it too and muck about with
it.

Neil.


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