Using known data structure hierarchy in GC and PCH?

Laurynas Biveinis laurynas.biveinis@gmail.com
Tue Dec 11 06:32:00 GMT 2012


Hi -

> Another "problem" with gengtype is that it doesn't know what types can
> end up in a PCH. The CFG data structures can *never* be in a PCH, but
> there still are PCH writer functions. This is true for many other data
> structures as well.

Yes, gengtype does not differentiate between GC and PCH currently.

> Should we (as an intermediate step
> towards streaming PCHs) explicitly GTY-mark types that should have PCH
> writer functions, and not generate such functions for unmarked types?

IMHO that's a good idea.

-- 
Laurynas



More information about the Gcc mailing list