On Sun, Nov 25, 2012 at 10:09 AM, Richard Biener
<richard.guent...@gmail.com> wrote:

> I'd say the most pragmatic solution is to stick with gengtype but
> make it more dependent on annotations (thus, explicit).  That is,

Yes.  That is the direction in which I've been leaning towards.  My
preference is to transitionally move to manual markers
(http://gcc.gnu.org/wiki/cxx-conversion/gc-alternatives#Do_GC_marking_manually)
and over time transition to memory pool management.

> I suppose I agree that garbage collection is not technically
> required for writing a compiler, but getting rid of GC in GCC
> entirely will be a hard and error-prone task (even if you
> factor out PCH which is an entirely different mess).

Agreed.  As far as PCH is concerned, my preferred long term approach
is to move to streamable types.  We have an almost working
implementation in the PPH branch and we already have a streaming
framework in LTO.


Diego.

Reply via email to