[trunk r143197] patch adding optional extra marking to GGC

Diego Novillo dnovillo@google.com
Mon Jan 12 19:16:00 GMT 2009

On Mon, Jan 12, 2009 at 13:57, Ian Lance Taylor <iant@google.com> wrote:

> Your patch, although it is short, appears to me to move gcc toward
> greater complexity.  I'm certainly open to hearing different opinions
> from other people.

I agree with your analysis.  Intra-pass garbage collection should not
be necessary.  I would even push for not having GC at all, but I am
not going to open that can of worms.

Passes should always either manage their own memory or, at worst, use
obstacks if they want to be lazy.  A pass that is so convoluted that
it needs GC while it operates may indicate other problems (sloppy
code, bad design).


More information about the Gcc-patches mailing list