This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mixing VEC-tors of string & GTY?

Le Thu, Jan 04, 2007 at 05:39:23AM -0500, Andrew Pinski écrivait/wrote:
> First sorry about the first email.
> > As a simple example, if I add (inside trunk rev.101317) at the end of
> > gcc/stringpool.c just before the last #include "gt-stringpool.h"
> > 
> >   typedef char* basilestring_t;
> >   DEF_VEC_P (basilestring_t);
> >   DEF_VEC_ALLOC_P (basilestring_t,heap);
> >   static VEC(basilestring_t,heap) *basilestring_vector;
> > 
> > Then I gen a gengtype error:
> > make[2]: Entering directory `/usr/src/Lang/_BasileGgccObj/gcc'
> > build/gengtype
> > /usr/src/Lang/basile-ggcc/gcc/stringpool.c:263: unidentified type `basilestring_t'

> Yes fix gengtype to ignore non heap gc cases.

I just submitted the patch which add a
magic comment parsing to have gengtype ignore stuff


email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 
8, rue de la Faïencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]