[cxx-conversion] Support garbage-collected C++ templates
Richard Guenther
richard.guenther@gmail.com
Thu Aug 9 09:03:00 GMT 2012
On Wed, Aug 8, 2012 at 11:27 PM, Diego Novillo <dnovillo@google.com> wrote:
> On 12-08-08 17:25 , Gabriel Dos Reis wrote:
>
>> Aha, so it is an ordering issue, e.g. declarations being generated
>> after they have been seen used in an instantiation.
>>
>> We might want to consider including the header file (that contains
>> only the declarations of the marking functions) in the header
>> files that contain the GTY-marked type definition. In this case, it would
>> be included near the end of tree.h
>
>
> Right. And that's the part of my plan that requires killing gengtype with
> fire first. When I started down that path, it became a very messy re-write,
> so I decided it was better to do it in stages.
But now with doing it in stages you end up with (this) first stage
that complicates
gengtype to support a very small subset of C++ types (namely the one special
case you need for vec.h). Exactly what I did _not_ want!
I understood that you had the complete "killing of gengtype with fire" ready
(or almost ready). Please finish it instead.
Thanks,
Richard.
>
> Diego.
More information about the Gcc-patches
mailing list