Hello All, When gengtype is used in plugin mode, it should also generate various #define ggc_alloc_* macro definitions. It seems that the 4.6.0 gengtype don't do that (and that is a bug). The attached patch, to trunk rev171950, fixes this issue. ############# gcc/ChangeLog entry 2011-04-04 Basile Starynkevitch * gengtype.c (write_typed_alloc_def): Gets extra outf_p argument and use it. (write_typed_struct_alloc_def, write_typed_typedef_alloc_def) (write_typed_alloc_defns): Likewise. (main): Calls write_typed_alloc_defns with output_header. ############# Ok for trunk? Comments are welcome! Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine, sont seulement les miennes} ***