This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gengtype and inheritance
- From: Diego Novillo <dnovillo at google dot com>
- To: David Malcolm <dmalcolm at redhat 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, 3 Apr 2013 17:33:02 -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> <1365016923 dot 24820 dot 56 dot camel at surprise>
On Wed, Apr 3, 2013 at 3:22 PM, David Malcolm <dmalcolm@redhat.com> wrote:
> For reference, these docs are:
> http://gcc.gnu.org/onlinedocs/gccint/User-GC.html#User-GC
Thanks.
> (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)
Yes. PCH needs are slightly different. At least we don't need the
tags anymore. Those are a big nuisance to provide outside of
gengtype.
I have not looked into merging them, but it may not be a big job.
Diego.