On Tue, 19 Apr 2011 06:42:58 +0300 Laurynas Biveinis <laurynas.bivei...@gmail.com> wrote: > > Did you test this patch that it bootstraps and that a GTY-using plugin > gets the right set of definitions in the output?
I checked both (using MELT as the plugin to test it). I very slightly & trivially improved the patch by updating the copyright year of gengtype.h and by replacing in the patch of write_typed_struct_alloc_def + gcc_assert (s->kind == TYPE_STRUCT || s->kind == TYPE_UNION + || s->kind == TYPE_LANG_STRUCT); with the more readable & shorter equivalent gcc_assert (UNION_OR_STRUCT_P (s)); > OK with these changes and confirmation that the patch was tested. Committed revision 172705. Thanks -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine, sont seulement les miennes} ***