This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gengtype and inheritance
- From: David Malcolm <dmalcolm at redhat dot com>
- To: Diego Novillo <dnovillo at google dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, Gabriel Dos Reis <gdr at integrable-solutions dot net>, gcc <gcc at gcc dot gnu dot org>
- Date: Wed, 03 Apr 2013 15:22:03 -0400
- Subject: Re: gengtype and inheritance
- References: <CAAiZkiB3=+taq3F0RxgUiHJdu7Prwe5MFHsL_N8Lr5ZUySj96g at mail dot gmail dot com> <51543C66 dot 5080609 at google dot com> <CAFiYyc2vOHLyqSTTBBFiz3rQWU1qSKGqOfSObfPxWPBd_wd9Cw at mail dot gmail dot com> <51544E7E dot 8080102 at google dot com> <1365005388 dot 24820 dot 32 dot camel at surprise> <515C58DB dot 3020206 at google dot com>
On Wed, 2013-04-03 at 12:29 -0400, Diego Novillo wrote:
> On 2013-04-03 12:09 , David Malcolm wrote:
> > I tried grepping for these, but didn't see any. Where are these? Is
> > this in svn trunk, or in a branch?
> vec and edge_def. You need to grep for 'GTY((user))'.
Many thanks; got it now.
[I was mistakenly searching for GTY((manual)) ]
> The documentation should guide you in what you need to do.
For reference, these docs are:
http://gcc.gnu.org/onlinedocs/gccint/User-GC.html#User-GC
(It seems a shame that one has to write 3 almost-identical functions; I
wonder if there's a clean way of writing the traversal code only once)
Thanks
Dave