C++ PATCH to tweak syntax tree

Mark Mitchell mark@codesourcery.com
Tue Nov 30 23:59:00 GMT 1999


>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:

>>>>> Mark Mitchell <mark@codesourcery.com> writes:

    >> This patch should have no effect on the operation of the
    >> compiler

    Jason> It'll slow down the look in finish_file somewhat.

So marginally that it won't make any difference at all, though.  Note
that it already wasn't doing this pruning until the *second* time the
vtable was encountered.  And, it removes these nodes from the tree;
inconvenient for people looking at the whole tree.  We could put the
pruning back if !flag_syntax_only, I guess, but I don't think it's
worth the clutter.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc-patches mailing list