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: gengtype needs for C++?


On Tue, Jun 29, 2010 at 4:16 AM, Tom Tromey <tromey@redhat.com> wrote:
> Ian> In Tom's interesting idea, we would write the mark function by hand for
> Ian> each C++ type that we use GTY with.
>
> I think we should be clear that the need to write a mark function for a
> new type is a drawback of this approach. ?Perhaps gengtype could still
> write the functions for ordinary types in GCC, just not (templatized)
> containers.

I don't think that's a too bad drawback.

> Also, perhaps we actually need 2 such functions, one for the GC and one
> for PCH. ?I don't remember.

Finally a reason to let PCH die ;)

Richard.

> Tom
>


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